Re: [pcre-dev] (DEFINE) problem

Página Principal
Apagar esta mensagem
Autor: Philip Hazel
Data:  
Para: ND
CC: Pcre-dev
Assunto: 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