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

Góra strony
Delete this message
Autor: Philip Hazel
Data:  
Dla: Ralf Junker
CC: pcre-dev
Temat: 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