Comment

Comment by sudobash1

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"
parent sudobash1 3 months ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton