3 ms·
How many of these gotchas exist with ripgrep?
by rattray 6y ago
How many of these gotchas exist with ripgrep?
- NathanOsullivan 6y agoMost of them are shell gotchas, and so would apply to rg
- jftuga 6y agoOn Windows, if you want to match a line ending with $, then you have to use the --crlf option. When enabled, ripgrep will treat CRLF (\r\n) as a line terminator instead of just \n. I really wish this was enabled by default on Windows builds.
- burntsushi 6y agoripgrep at least won't suffer from the UTF-16 problem. It will automatically handle those files correctly by transcoding to UTF-8.