cargo ripgrep 14.1.1

one month ago

Sponsorship is appreciated!

This is a minor release with a bug fix for a matching bug. In particular, a bug
was found that could cause ripgrep to ignore lines that should match. That is,
false negatives. It is difficult to characterize the specific set of regexes
in which this occurs as it requires multiple different optimization strategies
to collide and produce an incorrect result. But as one reported example, in
ripgrep, the regex (?i:e.x|ex) does not match e-x when it should. (This
bug is a result of an inner literal optimization performed in the grep-regex
crate and not in the regex crate.)

In case you haven't heard of it before, ripgrep is a line-oriented search
tool that recursively searches the current directory for a regex pattern.
By default, ripgrep will respect gitignore rules and automatically skip
hidden files/directories and binary files.

Bug fixes:

  • BUG #2884:
    Fix bug where ripgrep could miss some matches that it should report.

Miscellaneous:

  • MISC #2748:
    Remove ripgrep's simd-accel feature because it was frequently broken.

Don't miss a new ripgrep release

NewReleases is sending notifications on new releases.