Skip to main content

Getting to know look-around in Vim

Recently the topic of look-around in regular-expressions (regexes) came up in conversation and there seemed to be some confusion regarding how to use them. So I thought I'd write up a little 4-point post to describe when and how to use them.

Positive Lookahead (\@=)

Negative Lookahead (\@!)