Autor: Philip Hazel Fecha: A: Tib Cc: pcre-dev Asunto: Re: [pcre-dev] Unmatched subpattern become wildcard
On Wed, 21 Dec 2011, Tib wrote:
> When (another)? didn't match, I would assume \1 also match an empty string,
> however (\1?) part captured "hello world ", is this a bug or I
> misunderstand the syntax?
I have just tested this with pcretest, and I can confirm that it is a
bug, especially as Perl behaves like 8.10. We are rather busy with the
16-bit upgrade at the moment, but I'll try to find time soon to see if
there is a simple fix for this.