By default, vim's reg-ex matching is weird. For example: > * is special when not escaped but… > + is special when escaped > \{x,y} (escaping only the opening bracket) works but… > You have to use \( \) (escape both parens) > [] is special when both are unescaped Source: https://wincent.com/wiki/Vim_regexes For more details, check out Greg Hurrell's screencast: https://www.youtube.com/watch?v=VjOcINs6QWsmaster
parent
7a4a785ac7
commit
c050efe3b5
1 changed files with 4 additions and 0 deletions
Loading…
Reference in new issue