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

Top Page
Delete this message
Author: Philip Hazel
Date:  
To: Ralf Junker
CC: pcre-dev
Subject: 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