Skip to content

pattern string escape all the string. #2545

Answered by BurntSushi
jianhe-fun asked this question in General
Discussion options

You must be logged in to vote

Yes. The -F/--fixed-strings flag. For example, rg -F '+' is equivalent to rg '\+'.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@jianhe-fun
Comment options

@BurntSushi
Comment options

@jianhe-fun
Comment options

@BurntSushi
Comment options

Answer selected by BurntSushi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants