Skip to content

re_replace - Found unknown escape character '.' #3680

Answered by BrutuZ
ghost asked this question in Q&A
Discussion options

You must be logged in to vote

You may have to escape \ up to three times (\\\\).
I can never tell how many are enough for each use-case though, other than having a few \\\\b on my config for word boundaries I usually start with a couple since sometimes that's enough and add more as I test it 😅

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@gazpachoking
Comment options

@ghost
Comment options

@BrutuZ
Comment options

@ghost
Comment options

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