Questions tagged [ripgrep]

ripgrep is a line-oriented search tool that recursively searches your current directory for a regex pattern while respecting your gitignore rules. Also: rg

Filter by
Sorted by
Tagged with
0
votes
1answer
67 views

ripgrep path pattern

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 ...
-1
votes
1answer
253 views

How can I search a specific list of files with ripgrep?

I've got a list of files that I would like to search for a pattern with ripgrep. How can this be done?
1
vote
1answer
382 views

How is ripgrep different from silver searcher ag? [closed]

Are these related? Which is faster? Can either be limited to directory-names? https://github.com/BurntSushi/ripgrep https://github.com/ggreer/the_silver_searcher
1
vote
1answer
1k views

ripgrep: print only filenames matching pattern

Using ripgrep (rg), can I print only the filenames which match a given pattern? There are two separate things I'm trying to do: Match the pattern to the pathname itself (like ag -g pattern) Match ...