-
Notifications
You must be signed in to change notification settings - Fork 415
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
Why are some invalid regex-es qualified as valid? #847
Comments
What makes you say that? Where are you getting your definition of "valid" from? |
It isn't. In general, no two regex engines have the same set of valid regexes. And sometimes, even for two valid regexes that have equivalent concrete syntax, their behavior might be different depending on the regex engine. Additionally, Rust's regex engine also rejects some regexes that other regex engines don't. For example,
I'm always in favor of improving docs. And I think it would be nice to have a "beginner" level tutorial focused around the regex crate. (I believe there's an issue tracking that.) But pretty much any beginner regex tutorial will be sufficient for at least learning the regex syntax and behavior in 99% of the cases. The cases you bring up here are niche, and I very strongly reject your claim that a book is "substantially" needed based on the evidence you've presented so far. Otherwise, I'll close this in favor of #497. |
See also: #765. |
No description provided.
The text was updated successfully, but these errors were encountered: