You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think the first documentation line should clarify that ripgrep searches the content of the files, as oppose to the filenames that match regex (like fd).
Current description:
ripgrep is a line-oriented search tool that recursively searches the current
directory for a regex pattern.
Some ideas (not sure about the wording yet):
ripgrep recursively searches for text files whose content matches a regular expression pattern.
The text was updated successfully, but these errors were encountered:
ripgrep (rg) recursively searches the current directory for lines matching
a regex pattern. By default, ripgrep will respect gitignore rules and
automatically skip hidden files/directories and binary files.
BurntSushi
added
doc
An issue with or an improvement to documentation.
rollup
A PR that has been merged with many others in a rollup.
labels
Nov 22, 2023
P.S. tbh lines is also a bit of a minor confusion - usually novice users think of files in terms of content or text. The fact that its a line search tool is more of an implementation detail (that might even be overridable with various multiline regexes?). So perhaps something like this? (sorry for bikeshading):
ripgrep (rg) recursively searches files for content matching a regex pattern.
By default, ripgrep will respect gitignore rules and automatically skip
hidden files/directories and binary files.
I think the first documentation line should clarify that
ripgrep
searches the content of the files, as oppose to the filenames that match regex (likefd
).Current description:
Some ideas (not sure about the wording yet):
The text was updated successfully, but these errors were encountered: