When doing replacement, why does $1 www$3
yield expected results but $1www$3
does not?
#2974
-
Here is a simplified example of what I'm confused by:
Is there some escape to delimit the tokens so I can get $1 + www + $3? |
Beta Was this translation helpful? Give feedback.
Answered by
BurntSushi
Jan 18, 2025
Replies: 1 comment 3 replies
-
This is answered in the documentation. This case is specifically called out in the help for the
Specifically, the third paragraph answers your question. |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
BurntSushi
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is answered in the documentation. This case is specifically called out in the help for the
-r/--replace
flag: