(no title)
sstanfie | 7 years ago
% grep "die()" * [...results with functions named die()...]
% rg "die()" Error parsing regex
I reach for grep when I need to do non-regex searching. Can't remember how to do an fgrep fixed-pattern style ripgrep.
great tools andrew: I use them every day and install them first thing on a new box. know that your code really helps
burntsushi|7 years ago
For ripgrep, you can enable literal search the same way you do it in grep: with the -F flag.
Thanks for responding!