[关闭]
@woshichuanqilz 2015-10-27T03:51:06.000000Z 字数 339 阅读 1176

Regular Expression

RegEx


  1. 1.
  2. Match the content in brace
  3. (?<=\().*(?=\))
  4. Test Example : hk
  5. **ReinforceHotKeyRep.ahk (D:\Program Files\ALTRun\AHK) - GVIM
    2.
  1. Use the zero-width to mark the boundray of the word, it a good way to search.

3. Notice the escape char.

  1. C\:\\

Group Catch, notice the \2 at the second part

  1. :%s/*\d\{2\} .*/\2:/g

Insert the in double line

11.png-92kB

OR, Greedy

  1. v/\<add\|<set\|para.\{-}=/dbo
添加新批注
在作者公开此批注前,只有你和作者可见。
回复批注