Thursday, April 23, 2015

Re: positive lookbehind

On Thu, 23 Apr 2015 at 2:21pm +0300, LCD 47 wrote:

> Because the anchor is not inside the lookbehind group, thus it isn't
> optional. Since the lookbehind group is matched with zero width, you're
> effectively asking Vim to match /\v^\w+ .

Right! Strange I didn't see this right away.

Thanks for the pointer.
Claus

No comments: