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

Página Principal
Apagar esta mensagem
Autor: ph10
Data:  
Para: ND
CC: Pcre-dev
Assunto: 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