Re: [pcre-dev] Odd behavior of \k

Etusivu
Poista viesti
Lähettäjä: Philip Hazel
Päiväys:  
Vastaanottaja: Sheri
Kopio: pcre-dev
Vanhat otsikot: [pcre-dev] Odd behavior of \k
Aihe: Re: [pcre-dev] Odd behavior of \k
On Wed, 6 Apr 2011, Sheri wrote:

> And this pattern ^(\k)(\k)pqreeest$
>
> tested against the subject UU
>
> matches the first U
>
> Tested with pcretest using pcre 8.11 aka 8.12 shared library under Windows.


I've committed a patch that fixes this. It was compiling nonsense. Now
it gives a compile-time error, as does Perl.

Philip

--
Philip Hazel