Re: [pcre-dev] \K in atomic group

Top Page
Delete this message
Author: Philip Hazel
Date:  
To: ND
CC: Pcre-dev
Subject: Re: [pcre-dev] \K in atomic group
On Tue, 26 Jan 2010, ND wrote:

> Hi, Philip!
>
> PCRE 8.0
>
> Subject: ab
> Pattern: (?>a\Kb)
> Match: ab
> Expected: a


Shouldn't you expect "b", not "a"? Perl 5.10 does give "b", so there is
clearly a bug in PCRE. Thank you for the report. I will fix the bug in
due course.

Philip

--
Philip Hazel