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

トップ ページ
このメッセージを削除
著者: ph10
日付:  
To: ND
CC: Pcre-dev
題目: 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