-
Notifications
You must be signed in to change notification settings - Fork 109
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
Case insensitive literal not working with backreferences #216
Comments
@mingodad, could you put the smallest possible PEG grammar here, so that I can reproduce it on my machine easily? Thanks! |
I'm seeing various corruption in the error message with this grammar on the playground:
Input: On Firefox, the error I'm currently seeing with the above grammar/input:
It seems more apt to happen if The command line lint seems to always show the error I believe is the proper error (with lots of variations on the TAGNAME): I'll see if I can narrow it down to simpler grammar any... |
This is about as simple as I can get it and still see consistent corruption:
Input: |
@ChrisHixon, thanks for the problem report. I fixed it at 3c2a53c. |
@mingodad, I would like to make sure I understand what you are mentioning here. The current cpp-peglib backreference behavior is 'exact match' to the captured string, and same as the regular expression. If your suggestion says this example should succeed, I am not sure if it's correct. Could you explain more clearly? |
After you showing it with regex I can see your point. |
Here is an example on
Input:
|
@mingodad, thanks for the response. I'll close this issue. Could you make a separate issue for |
See discussion here and the examples tested on
cpp-peglib
playground.The text was updated successfully, but these errors were encountered: