Re: [pcre-dev] Bug: No match with studied regex

Page principale
Supprimer ce message
Auteur: Philip Hazel
Date:  
À: Ralf Junker
CC: pcre-dev
Sujet: Re: [pcre-dev] Bug: No match with studied regex
On Sat, 5 Dec 2009, Ralf Junker wrote:

> Another problem with a *studied* pattern:
>
> Regular Expression: .(?(DEFINE)(?<s1>.)(?<s2>..))
> Subject String:     aaa
> Result:             PCRE_ERROR_NOMATCH

>
> Expected Match:     a

>
> Works as expected when the pattern is not studied.


OK, that one I *can* reproduce. Noted. Thanks for the report.


Philip

--
Philip Hazel