mirror of
https://github.com/BurntSushi/ripgrep.git
synced 2025-03-17 20:28:03 +02:00
The specific issue is that -w causes the regex to be wrapped in Unicode word boundaries. Regrettably, Unicode word boundaries are the one thing our regex engine can't handle well in the presence of non-ASCII text. We work around its slowness by stripping word boundaries in some circumstances, and using the resulting expression as a way to produce match candidates that are then verified by the full original regex. This doesn't fix all cases, but it should fix all cases where -w is used.
UNDER DEVELOPMENT.
ripgrep (rg)
ripgrep combines the usability of the silver searcher with the raw speed of grep.
Description
ripgrep recursively searches directories for a regex pattern while respecting your gitignore
Readme
12 MiB
Languages
Rust
94.4%
Python
2.7%
Shell
2.1%
Roff
0.8%