Re: [pcre-dev] Inner (*MARK) don't keep its value outside th…

Page principale
Supprimer ce message
Auteur: Philip Hazel
Date:  
À: ND
CC: Pcre-dev
Sujet: Re: [pcre-dev] Inner (*MARK) don't keep its value outside the assertion
On Mon, 16 Jan 2012, ND wrote:

> >It applies to capturing, non-capturing, and atomic parentheses. However,
> >the handling of MARKs is complicated; I hope I have caught all thecases.
>
> Thanx a lot, Philip.
> Is there my first example take into account? There was a negative assertion:
>
> > > PCRE version 8.21 2011-12-12> /(?=a(*:x))(?!a(*:y)c)/K> ab> 0:>
> > >
> > > There is no MARK value in output. Expected> MK:x


Thanks for pointing that out; I had overlooked that case. I have now
fixed that as well as an issue with positive assertions.

Philip

--
Philip Hazel