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

Página superior
Eliminar este mensaje
Autor: Zoltán Herczeg
Fecha:  
A: pcre-dev@exim.org
Asunto: Re: [pcre-dev] Remove some restrictions of lookbehind assertions
> Oh, sorry, I was thinking of
> (*MARK:X)(?:abc(*MOVE:X))+
>  which is not an empty match. Your example is indeed an empty match.


You have already convinced me to drop MOVE :) I realized that capturing brackets with negative lengths would be awful as well.

The question is whether we keep the other construct. Or "rematching" a capturing block in an assertion like fashion would solve this problem better.

Regards,
Zoltan