Closed is3ka1 closed 2 years ago
It's on https://hackmd.io/c/tutorials/
或是中文版 https://hackmd.io/c/tutorials-tw/
When I try to use backreference to replace things, I find it can't match the Regular Expression the Vim way.
maybe something like this:
:%s/\(\)/\1/
Screenshot (optional) Note Link
After Press y / Y:
I use HackMD on:
Desktop
(ゞω< )
The regex dialect isn't the same as the one used by Vim :(
The following works to change all words ending in 'ing' to end in 'ed'.
:%s/([a-zA-Z]+)ing/$1ed/g
Is this a hackmd.io issue?
Read our Official tutorial
It's on https://hackmd.io/c/tutorials/
或是中文版 https://hackmd.io/c/tutorials-tw/
What's the problem
When I try to use backreference to replace things, I find it can't match the Regular Expression the Vim way.
maybe something like this:
Current behaviour
Expected behaviour
After Press y / Y:
Environment
I use HackMD on:
Desktop
Additional context
(ゞω< )