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

Página Principal
Apagar esta mensagem
Autor: ph10
Data:  
Para: Zoltán Herczeg
CC: pcre-dev@exim.org
Assunto: 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