In Vim is there an option to write regexs in the same style as Awk for example/sp\{0,\}/
Would be
/sp{0,}/
|
In Vim is there an option to write regexs in the same style as Awk for example
|
|||
|
|
|
Preceding your pattern with So You can make this a sort of default by remapping
See |
||||
|
|
|
Of course for |
|||||
|
|
Vim does not have an option to emulate awk-style regular expressions, no. There are a lot of dialects of regex, and unfortunately there are always these little dialectical differences to keep track of when going from one tool to another. |
|||
|
|