Thank you for looking into this! I saw the minutes of the discussion at https://github.com/ruby/dev-meeting-log/blob/master/2024/DevMeeting-2024-04-17.md#misc-20422-bugfix-release-processhsbt--misc-20432-proposal-for-workflow-changes-re...jrochkind (jonathan rochkind)
I do find \A and \z cumbersome and confusing for a common use case. (You didn't mention the need to avoid getting confused with \Z and \z too!). Instead of new syntax, how about just a new stdlib method, Regexp.anchored(`/whatever/`)...jrochkind (jonathan rochkind)
I would love to see this resurrected. If you want the MatchData in a gsub block, at first it looks like you can just use `Regexp.last_match`. But I think this, along with variables like `$1`, may not be thread-safe? See for insta...jrochkind (jonathan rochkind)
Why is more special syntax needed, when it can just be a method? ``` def Kernel.AStruct(**key_values) Struct.new(key_values.keys).new(key_values.values) end AStruct(a: 1, b: 2) ``` If that implementation isn't efficient en...jrochkind (jonathan rochkind)
StringIO has been documented for a while to *ignore* it's own internal encoding, but respect it's own external encoding. I am not sure this ever made any sense. It might have made more sense to respect an internal encoding, but ignor...jrochkind (jonathan rochkind)
Note the StringIO is _not_ transcoding. it is simply changing the encoding "tagging" of the String without changing any bytes. If the string was ASCII-8BIT (ie BINARY), there is really *no way* to transcode. But here's an example whe...jrochkind (jonathan rochkind)
I'm concerned that `then` is used in Promises, and is already in use in many promise-implementing libraries, including [concurrent-ruby](http://ruby-concurrency.github.io/concurrent-ruby/Concurrent/Promise.html). The Promise librarie...jrochkind (jonathan rochkind)
Hello, can you explain why this issue closed? I hope it is seen as a bug? While small changes make it not reproduce, I believe a core dump crash is a bug regardless? Especially when did not that cause that on earlier versions of ruby?jrochkind (jonathan rochkind)
Sorry accidentally double-reported, the issue tracker gave me an error on first submit and I thought it hadn't been submitted. Close in favor of https://bugs.ruby-lang.org/issues/14403 jrochkind (jonathan rochkind)
Oops, sorry, somehow missed reproduction script in the original report, here it is: https://gist.github.com/jrochkind/a8344b1805badec8109b6f95c89a745b ``` require 'rexml/parsers/pullparser' def look_at_record(parser) # While...jrochkind (jonathan rochkind)