mirror of
https://github.com/BurntSushi/ripgrep.git
synced 2025-01-08 13:23:34 +02:00
0222e024fe
This was a subtle bug, but the big picture was that the smart case information wasn't being carried through to the literal extraction in some cases. When this happened, it was possible to get back an incomplete set of literals, which would therefore miss some valid matches. The fix to this is to actually parse the regex and determine whether smart case applies before doing anything else. It's a little extra work, but parsing is pretty fast. Fixes #199 |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |
grep
This is a library that provides grep-style line-by-line regex searching (with
comparable performance to grep
itself).