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

Page principale
Supprimer ce message
Auteur: Zoltán Herczeg
Date:  
À: pcre-dev@exim.org
Sujet: 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