Sample Header Ad - 728x90

ripgrep path pattern

13 votes
2 answers
6896 views
I'd like ripgrep to search paths with the specified pattern. For e.g.
rg PATTERN --path REGEX
where PATTERN is the pattern to grep and REGEX is the path matching pattern. I have scattered through the documentation and I am unsure if this functionality is baked in.
Asked by p0lAris (233 rep)
Feb 26, 2019, 04:41 PM
Last activity: Jan 15, 2021, 01:04 PM