The expected keywords were not found #1855
-
I had a strange experience, I want to find the expected keywords through rg command. Unfortunately, no matter how I tried, I couldn’t find it. I tried to uninstall and install again for rg package (VERSION 12.1.0 (rev e8822ce) now). However, when I try to use the ag command or grep command to replace the rg command, the keywords I expect can be found. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Try running ripgrep with If you want to get to bottom of it, run ripgrep with the |
Beta Was this translation helpful? Give feedback.
Try running ripgrep with
-uuu
. ripgrep is almost certainly skipping files because of its smart filtering. You likely have relevant gitignore rules in play here.If you want to get to bottom of it, run ripgrep with the
--debug
flag. It will tell you which files it's skipping and why.