Szerző: Philip Hazel Dátum: Címzett: ND CC: Pcre-dev Tárgy: Re: [pcre-dev] Inner (*MARK) don't keep its value outside the
assertion
On Sun, 25 Dec 2011, ND wrote:
> 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
This is documented:
If (*MARK) is encountered in a positive assertion, its name is
recorded and passed back if it is the last-encountered. This does not
happen for negative assertions.