Re: [pcre-dev] (*SKIP:NAME) when (*MARK:NAME) is in assertio…

Top Pagina
Delete this message
Auteur: ph10
Datum:  
Aan: ND
CC: Pcre-dev
Onderwerp: Re: [pcre-dev] (*SKIP:NAME) when (*MARK:NAME) is in assertion
On Sun, 15 Jul 2018, ND via Pcre-dev wrote:

> PCRE2 version 10.31 2018-02-12
> /(?>a(*:1))(?>b(*:1))(*SKIP:1)x|.*/
> abc
> 0: bc
>
>
> If MARK in atomic don't matter for SKIP then why result is "bc" and not "abc"?
> If MARK in atomic matter for SKIP then why result is not "c"?


This does look like a bug. Perl matches "abc" and that's what I would
expect. I will investigate.

Philip

--
Philip Hazel