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
Currently --expression/-e can be specified multiple times to specify additional expressions that will result in a line being included in the results. When searching for words containing EXPR1, EXPR2, and EXPR3, it is simple enough to type in -e EXPR1.*EXPR2.*EXPR3 as the pattern. However, if the order of the expression is not important and may vary, it would be necessary to invoke -e EXPR1.*EXPR2.*EXPR3 -e EXPR1.*EXPR3.*EXPR2 -e EXPR2.*EXPR1.*EXPR3 -e EXPR2.*EXPR3.*EXPR1 -e EXPR3.*EXPR1.*EXPR2 -e EXPR3.*EXPR2.*EXPR1.
I'm curious whether you would be open to rg supporting some means of combining patterns/expressions via AND syntax instead of the current OR syntax when given multiple -e statements.
The text was updated successfully, but these errors were encountered:
Currently
--expression
/-e
can be specified multiple times to specify additional expressions that will result in a line being included in the results. When searching for words containing EXPR1, EXPR2, and EXPR3, it is simple enough to type in-e EXPR1.*EXPR2.*EXPR3
as the pattern. However, if the order of the expression is not important and may vary, it would be necessary to invoke-e EXPR1.*EXPR2.*EXPR3 -e EXPR1.*EXPR3.*EXPR2 -e EXPR2.*EXPR1.*EXPR3 -e EXPR2.*EXPR3.*EXPR1 -e EXPR3.*EXPR1.*EXPR2 -e EXPR3.*EXPR2.*EXPR1
.I'm curious whether you would be open to
rg
supporting some means of combining patterns/expressions viaAND
syntax instead of the currentOR
syntax when given multiple-e
statements.The text was updated successfully, but these errors were encountered: