Re: [pcre-dev] \K don't work

Page principale
Supprimer ce message
Auteur: ph10
Date:  
À: ND
CC: Pcre-dev
Sujet: Re: [pcre-dev] \K don't work
On Sun, 27 Oct 2013, ND wrote:

> PCRE version 8.33-RC1 2012-12-07
> /(?:a\Kb)*+/
> ababc
> 0: abab
>
>
> PCRE version 8.33-RC1 2012-12-07
> /(?:a\Kb)*/
> ababc
> 0: b
>
>
> I see \K don't work in first pattern.
> May be a bug there.


I have confirmed this behaviour. It looks like a bug, especially as Perl
gives a different result. Thank you for the report.

Philip

--
Philip Hazel