Actions
Bug #18988
closedRipper cannot parse some code that has regexp named capture
Bug #18988:
Ripper cannot parse some code that has regexp named capture
Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 3.2.0dev (2022-08-29T15:47:09Z :detached: cd7506593a) [x86_64-linux]
Description
Ripper does not seems to recognize regexp named capture defining new local variables, fails to parse some code.
Updated by tompng (tomoya ishida) almost 4 years ago
- Subject changed from # Ripper cannot parse some code that has regexp named capture to Ripper cannot parse some code that has regexp named capture
Updated by jeremyevans0 (Jeremy Evans) almost 3 years ago
It appears that YARP parses all of these correctly:
Updated by yui-knk (Kaneko Yuichiro) over 2 years ago
- Status changed from Open to Closed
This is solved by https://bugs.ruby-lang.org/issues/20257 (https://github.com/ruby/ruby/pull/9923).
Actions