-
Notifications
You must be signed in to change notification settings - Fork 45
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
AST post-processing #116
Comments
Is there global data we might also want to store? |
@milseman Did you have something specific in mind? Not sure if this is what you mean, but we will need to decide where to store the global matching options that PCRE allows to be parsed at the start of the regex, e.g |
It may make sense to have |
@milseman Makes sense, presumably recursive AST nodes would then store |
@hamishknight should this be closed then or is it tracking something? |
I was going to close it with the merging of #379, but am also happy to close now |
Oh right, forgot Github had that feature. Neat. |
This issue tracks logic that needs to be implemented after the parser has produced an AST.
To be implemented:
(?(xxx))
. PCRE always treats this as a named reference. .NET only treats it as a named reference if there is a group defined with that name, otherwise it treats it as an arbitrary regex condition. It's possible we may want to require users explicitly spell named references(?('xxx'))
to avoid this ambiguity.The text was updated successfully, but these errors were encountered: