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
Is your feature request related to a problem? Please describe.
I want to find all files which have the words:
all-or-nothing
pervasive
catastrophizing
I mean all words have to be present in the file. They do not need to be in the same line, paragraph or page.
Describe the solution you'd like
When I use: rga --word-regexp --sort path --ignore-case --files-with-matches --regexp "A1" --regexp "A2", i think the --regexp work as or. I need a operator that will work as and, something like --and "A1" --and "A2"
I think maybe it should be in ripgrep itself, or in other wrapper.
By the way, I would be happy to see a similar feature, but for me it would be more practical to filter those findings where both words are in the same line. It is also solvable with some regex magic but it would be handy to simplify this usecase. (I'm considering implementing this feature myself if I cannot find a ready solution.)
Is your feature request related to a problem? Please describe.
I want to find all files which have the words:
I mean all words have to be present in the file. They do not need to be in the same line, paragraph or page.
Describe the solution you'd like
When I use:
rga --word-regexp --sort path --ignore-case --files-with-matches --regexp "A1" --regexp "A2"
, i think the--regexp
work asor
. I need a operator that will work as and, something like--and "A1" --and "A2"
Describe alternatives you've considered
I am currently using:
However, this is not optimal.
The text was updated successfully, but these errors were encountered: