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

Inizio della pagina
Delete this message
Autore: Ralf Junker
Data:  
To: pcre-dev
Oggetto: [pcre-dev] Bug: No match with studied regex
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.

Ralf