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
Following the reproduction instructions will show a result from file one.ts, it should also show a result from two.ts. If used with the -i or -S flags, both results are shown as expected.
The text was updated successfully, but these errors were encountered:
@lilydjwg Thanks for the bisect! That is indeed the cause of the issue. That commit updated the regex library, which had a new Boyer-Moore optimization. Apparently, the implementation of Boyer-Moore is buggy.
This should be fixed in the next release.
(The reason why -i/--ignore-case "fixes" this is because it causes a different optimization to be used instead of Boyer-Moore.)
What version of ripgrep are you using?
ripgrep 0.7.1
-AVX -SIMD
What operating system are you using ripgrep on?
If this is a bug, what are the steps to reproduce the behavior?
Download rgbug.tar.gz, unpack, enter the contained directory, then search for
clone_created
.If this is a bug, what is the actual behavior?
https://gist.github.com/e1af638724793b341eee4f4f9e902afd
If this is a bug, what is the expected behavior?
Following the reproduction instructions will show a result from file
one.ts
, it should also show a result fromtwo.ts
. If used with the-i
or-S
flags, both results are shown as expected.The text was updated successfully, but these errors were encountered: