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
Was trying to create an example to show difference between \A and ^ anchors when multiline option is enabled. For certain input, \A is matching second line content.
What is the actual behavior?
Example with \A string anchor. The last command gives no output as expected.
Wow, you saw the comment, filed an issue and fixed it while I was still trying to generate more test cases (I was about to edit my issue to add those when I saw it was closed already!).
What version of ripgrep are you using?
ripgrep 12.1.1 (rev 7cb211378a)
How did you install ripgrep?
Using
ripgrep_12.1.1_amd64.deb
What operating system are you using ripgrep on?
Ubuntu 20.04 LTS
Describe your bug.
Was trying to create an example to show difference between
\A
and^
anchors when multiline option is enabled. For certain input,\A
is matching second line content.What is the actual behavior?
Example with
\A
string anchor. The last command gives no output as expected.Same thing seen with
^
anchor andm
flag disabled:What is the expected behavior?
Second line shouldn't match for above cases.
The text was updated successfully, but these errors were encountered: