On 2018-07-12 16:55, ph10 wrote:
There are no subroutine calls in the second, so it looks like a Perl bug.
You are right. It's a bug.
I will report it.
Can you please also report about Perl inconsistence that we discuss in "No
capture in nested negative assertions"?
--
## List details
On Tue, 3 Jul 2018, ND via Pcre-dev wrote:
> PCRE2 version 10.31 2018-02-12
> /(?1)(*F)|(a(*COMMIT))/
> a
> 0: a
> 1: a
>
>
> In Perl this pattern not matched.
> Is there weighty reason to stay backtracking controls not "cross-subroutine"
> when backtracking is cross-subroutine? And stay incomp
On Tue, 3 Jul 2018, ND via Pcre-dev wrote:
> PCRE2 version 10.31 2018-02-12
> /(?1)(*F)|(a(*COMMIT))/
> a
> 0: a
> 1: a
>
>
> In Perl this pattern not matched.
>
> There are differences in how PCRE and Perl act with control verbs in
> subroutines.
> This is documented in PCRE:
> "Perl's treatme