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

Página superior
Eliminar este mensaje
Autor: ph10
Fecha:  
A: Zoltán Herczeg
Cc: pcre-dev@exim.org
Asunto: 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