@woshichuanqilz
2015-10-27T03:51:06.000000Z
字数 339
阅读 1247
RegEx
1.
Match the content in brace
(?<=\().*(?=\))
Test Example : hk
**ReinforceHotKeyRep.ahk (D:\Program Files\ALTRun\AHK) - GVIM
Use the zero-width to mark the boundray of the word, it a good way to search.
3. Notice the escape char.
C\:\\
Group Catch, notice the \2 at the second part
:%s/*\d\{2\} .*/\2:/g
Insert the in double line
OR, Greedy
v/\<add\|<set\|para.\{-}=/dbo