You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You are incorrect, there is no empty string. Try it on any other regex parser
TIL that I don't understand strings. Lol. But no, you are definitively wrong. The string 1 has two different valid spans that correspond to the empty string: &s[0..0] and &s[1..1].
And regexr is correct. If you click "Details," it shows the matches. What it doesn't do is highlight empty matches. That's poor UI. https://regex101.com/ will highlight empty matches. And regex101 supports the dialect of regex implemented by this crate, where as regexr doesn't.
What version of regex are you using?
1.11.1
Describe the bug at a high level.
[A-Za-z]* matches with numbers [0-9]
What are the steps to reproduce the behavior?
What is the actual behavior?
true
What is the expected behavior?
false
The text was updated successfully, but these errors were encountered: