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

Startseite
Nachricht löschen
Autor: ph10
Datum:  
To: Zoltán Herczeg
CC: pcre-dev@exim.org
Betreff: 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