-
-
Notifications
You must be signed in to change notification settings - Fork 128
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
Incorrect regex #302
Comments
I have seen many issues about erroneous regular expressions. Why not use a ready-made, well-tested library such as regex? |
Nice catch for this bug! I think Logos does not directly use the If you look closely at how Logos is implemented, it uses |
This is an easy fix, just match for anything that's not a closing paren: This is also not a bug per se.
So these are related questions. Logos never was, and never will be (see "Phasing out Using the
(@jeertmans you replied just as I was typing this 🙃) |
One last note I'll leave here: might be worth considering throwing a compile error on glob repeat ( |
I feel that it should also be documented somewhere @maciejhirsz, maybe in the future book or in the crate's docs, but I recognize that's not the first time someone falls into the A compiler error might also help users! |
logos = "0.13.0"
The text was updated successfully, but these errors were encountered: