Re: [pcre-dev] (DEFINE) problem

Page principale
Supprimer ce message
Auteur: Philip Hazel
Date:  
À: ND
CC: Pcre-dev
Sujet: Re: [pcre-dev] (DEFINE) problem
On Sat, 5 Dec 2009, ND wrote:

> I use PCRE 8.0
>
> pattern: .(?(DEFINE)(?<s1>.)(?<s2>..))
> subject: aaa
> result: PCRE_ERROR_NOMATCH
>
> but i waits
> result: a


It works for me:

$ ./pcretest
PCRE version 8.00 2009-10-19

re> /.(?(DEFINE)(?<s1>.)(?<s2>..))/
data> aaa

0: a
data>


> Imho, it is a bug. Fix it quickly, please. It is critical for my
> application!


Please check your application.

Philip

--
Philip Hazel