Re: [pcre-dev] Remove some restrictions of lookbehind assert…

Top Page
Delete this message
Author: ph10
Date:  
To: Zoltán Herczeg
CC: pcre-dev@exim.org
Subject: Re: [pcre-dev] Remove some restrictions of lookbehind assertions
On Wed, 31 Jul 2019, Zoltán Herczeg wrote:

> If we consider the following pattern:
> /(*napla:a|a)+/
>
> is the same as:
> /(?:(*napla:a|a))+/
>
> Then we have an empty match if I understand  correctly the behavior of
> this new construct.


Oh, sorry, I was thinking of

(*MARK:X)(?:abc(*MOVE:X))+

which is not an empty match. Your example is indeed an empty match.

Philip

--
Philip Hazel