We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Not much else to say. The following piece of code will fail: assert!(Regex::new(r"1|2|3|4|5|6|7|8|9|10|int").unwrap().is_match("int")); //fails
assert!(Regex::new(r"1|2|3|4|5|6|7|8|9|10|int").unwrap().is_match("int")); //fails
While this won't: assert!(Regex::new(r"1|2|3|4|5|6|7|8|9|int").unwrap().is_match("int"));
assert!(Regex::new(r"1|2|3|4|5|6|7|8|9|int").unwrap().is_match("int"));
Edit: this is with 0.1.58 and rust 1.7
The text was updated successfully, but these errors were encountered:
Regression test for #191.
49577de
This was fixed in my literal detection refactor: 31a317e
I added a regression test in: 49577de
The old code was detecting the following as prefixes: '1', '2', '3', '4', '5', '6', '7', '8', '9'. Which is wrong, because it doesn't include int.
'1', '2', '3', '4', '5', '6', '7', '8', '9'
int
Sorry, something went wrong.
No branches or pull requests
Not much else to say. The following piece of code will fail:
assert!(Regex::new(r"1|2|3|4|5|6|7|8|9|10|int").unwrap().is_match("int")); //fails
While this won't:
assert!(Regex::new(r"1|2|3|4|5|6|7|8|9|int").unwrap().is_match("int"));
Edit: this is with 0.1.58 and rust 1.7
The text was updated successfully, but these errors were encountered: