On Thu, 23 Apr 2015 at 10:46am +0200, Christian Brabandt wrote:
> Well, at least, this is consistent with both regexp engines ;)
>
> I think the problem is, that the '^' prevents a match of the following word.
Apparently this is the case. I'm wondering why.
> I am not sure, why this happens, or if this is expected, but what seems to
> work
> is to include the '^' into the capturing group, e.g.
>
> /\(^\s*\)\@<=\w\+
>
> That works.
That's true.
Thanks, Christian.
Best,
Claus
No comments:
Post a Comment