|
|
|
|
|
by sudobash1
5 days ago
|
|
For the last example given in that article: /test_.*_errors/;/errors
I find it much easier to use "\zs". That tells vim where you want the "start" of the match to be. Everything before the "\zs" is just treated like context: /test_.*_\zserrors
It is also useful for ":s/match/sub" |
|