-
-
Notifications
You must be signed in to change notification settings - Fork 131
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
"a|a*b"
should match "aa"
but it doesn't
#456
Comments
Hi @zeng-y-l, I didn’t verify but I think you need to quote your patterns around the or operator; otherwise you current pattern needs to match a « b » at the end. |
I want it to match |
Graph:
|
Seems to be an issue with the |
This is 99% an issue with backtracking, once the lexer sees the second |
Thanks for the update, I didn't see the notification! I will create a new label (that we should also add to older similar issues) to track issues related to backtracking. |
a|a*b"
should match "aa"
but it doesn't
a|a*b"
should match "aa"
but it doesn't"a|a*b"
should match "aa"
but it doesn't
Example:
Maybe it's related to #160. Is this a bug? Thank you so much!
The text was updated successfully, but these errors were encountered: