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

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