-
-
Notifications
You must be signed in to change notification settings - Fork 925
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Regexp match raises java.lang.ArrayIndexOutOfBoundsException in numbered backreference #3538
Comments
reduced case: "x" =~ /(x?)x*\1/i |
Fixed in cf9171576de0c7f8070b783569e3dc7d1656ef16 |
Thanks for minimizing the case, and where's the commit? |
OK, thanks. I don't know what to say about the |
Actually that comment was wrong, it should be compared against range |
It appears that backref at level: "x" =~ /(x?)x*\k<1+0>/i and multiplex definition: "x" =~ /(?<n>x?)(?<n>x?)\k<n>/i were also affected, fixed in jruby/joni@2d4580d |
Leaving the issue open for jruby release cycle... |
Just confirmed JRuby 1.7.24 (with Joni 2.1.9 bundled) fixes the issue. Thanks! |
Confirmed with JRuby 9.0.4.0 and 1.7.23.
The text was updated successfully, but these errors were encountered: