Skip to content
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

Undefined group option during parse of mri/test_regexp.rb #2777

Closed
headius opened this Issue Mar 29, 2015 · 4 comments

Comments

Projects
None yet
2 participants
@headius
Copy link
Member

headius commented Mar 29, 2015

The following regexp does not parse/compile: /\A((x)|(y))(?(2)y|x)\z/

Here's the error it produces:

[] ~/projects/jruby $ jruby -c test/mri/ruby/test_regexp.rb 
SyntaxError in (RegexpError) undefined group option: /\A((x)|(y))(?(2)y|x)\z/

As you can see this prevents test_regexp.rb from running. It has not been running for over a year (excluded from test:mri run) and we should really fix this for 9k final.

@lopex

This comment has been minimized.

Copy link
Member

lopex commented Mar 29, 2015

Onigmo merge: ruby/ruby@0424e15

@lopex

This comment has been minimized.

Copy link
Member

lopex commented Apr 1, 2015

Implemented in jruby/joni@8d41393, conditionals specific tests pending...

@headius

This comment has been minimized.

Copy link
Member Author

headius commented Apr 2, 2015

Working on getting test_regexp going now, and then I'll resolve this.

@headius

This comment has been minimized.

Copy link
Member Author

headius commented Apr 2, 2015

joni 2.1.6-SNAPSHOT has been deployed.

headius added a commit that referenced this issue Apr 2, 2015

headius added a commit that referenced this issue Apr 2, 2015

@headius headius modified the milestones: 9.0.0.0.pre2, JRuby 9.0.0.0 Apr 2, 2015

@headius headius closed this Apr 2, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.