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

Pàgina inicial
Delete this message
Autor: Philip Hazel
Data:  
A: Ralf Junker
CC: pcre-dev
Assumpte: 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