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
I know this is almost certainly due to my misunderstanding Ripgrep's regex syntax, but I've been racking my brain and I can't figure out what I'm doing wrong.
The text was updated successfully, but these errors were encountered:
What version of ripgrep are you using?
How did you install ripgrep?
Via Homebrew.
What operating system are you using ripgrep on?
macOS 10.14.5.
Describe your question, feature request, or bug.
Ripgrep does not match the string
abc;de,fg
with the regex;(.*,){1}
.If this is a bug, what are the steps to reproduce the behavior?
This returns no lines:
If I remove the
{1}
repetition on the group, I do get a match:I also get a match with PCRE:
If this is a bug, what is the expected behavior?
I expect the first example to return a match.
I know this is almost certainly due to my misunderstanding Ripgrep's regex syntax, but I've been racking my brain and I can't figure out what I'm doing wrong.
The text was updated successfully, but these errors were encountered: