Autor: ph10 Data: A: ND CC: Pcre-dev Assumpte: Re: [pcre-dev] Possessive quantifier not work after {1}
On Mon, 17 Jun 2019, ND via Pcre-dev wrote:
> PCRE2 version 10.33 2019-04-16
> /(?:a|ab){1}+c/
> abc
> 0: abc
>
> No match expected, but pattern matched.
You are getting very good at finding PCRE2 bugs. :-) The quantifier {1}
was just being ignored, but that is wrong when it is {1}+ applied to a
parenthesized item. I have fixed the bug.