-
Notifications
You must be signed in to change notification settings - Fork 756
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
Named capture groups ? #5
Comments
No cant handle named capture groups... |
At present this tool focuses on JavaScript RegExp syntax, not PCRE. I had consider implementing this feature,but because this tool's goal is conforming with 《ECMAScript Standard》 ,and which syntax to support is a problem,Python or PCRE or XRegExp? Any more suggestions? |
Ah, I didn't think about the ECMAScript by default, even though it makes sense for a .js.. ;) |
Merge with: #16 |
Hey, nice tool, I might use that to help others understand regexp better ;)
However, it seems your script doesn't handle named capture groups :
Python's
(?P<name1>xxx)
to be refered as(?P=name1)
or Perl's
(?<name1>)
=>\k<name1>
Might be fun to add to your parser...
The text was updated successfully, but these errors were encountered: