rubychanges icon indicating copy to clipboard operation
rubychanges copied to clipboard

Ruby 3.3 breaking change with Regexp.new

Open Fryguy opened this issue 1 year ago • 1 comments

Apologies if this is the wrong place (perhaps I should open an issue in ruby/ruby for the NEWS.md instead?).

We've found an undocumented breaking change in Regexp.new that was put in place for https://bugs.ruby-lang.org/issues/18797

https://github.com/ruby/ruby/commit/7e8fa06022a9e412e3f8e6c8b6f0ba1909f648d5 changed the interface to issue a deprecation warning for the third parameter (in Ruby 3.2.0) and https://github.com/ruby/ruby/commit/04cfb26bd394b8e92f24f18799f5e9fc96b2ea69 actually removed it (for Ruby 3.3.0)

Fryguy avatar Jan 25 '24 20:01 Fryguy

I also found this: https://bugs.ruby-lang.org/issues/20084

Fryguy avatar Jan 25 '24 20:01 Fryguy