Autor: ND Data: Dla: Pcre-dev Temat: Re: [pcre-dev] Partial match at end of subject
On 2019-07-12 15:31, ND wrote: > On 2019-07-12 15:17, ph10 wrote:
> > On Fri, 12 Jul 2019, ND via Pcre-dev wrote:
> >> This is about my second example.
> > > But it seems first example have another issue:
> > >> >PCRE2 version 10.33 2019-04-16
> > > >/(?<=(?=.(?<=x)))/
> > > >ab\=ph
> > > >Partial match: b
> > >> Why it matched b?
> >Again, it has inspected at least one character, and if you add "x" it>
> matches.
>But I not try to add x. I inspect lookbehind for x. Why it matches "abx"?
>
It seems this example introduce not partial matching but "regular"
matching bug.
PCRE2 version 10.33 2019-04-16
/(?<=(?=(?<=a)))b/
ab
No match