[pcre-dev] [Bug 733] pcre_fullinfo() returns wrong PCRE_INF…

Pàgina inicial
Delete this message
Autor: Philip Hazel
Data:  
A: pcre-dev
Assumpte: [pcre-dev] [Bug 733] pcre_fullinfo() returns wrong PCRE_INFO_NAMECOUNT on some patterns
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=733




--- Comment #6 from Philip Hazel <ph10@???> 2008-07-15 15:36:12 ---
On Tue, 15 Jul 2008, Dmitry Ukolov wrote:

> Result is:
>
> PCRE version 7.0 18-Dec-2006
>
>   re> /(?x)1|2# (?<N>3)/D
> -------------------------------
>   0   5 Bra 0
>   3     1
>   5   5 Alt
>   8     2
>  10  10 Ket
>  13     End
> -------------------------------
> Capturing subpattern count = 0
> Named capturing subpatterns:          <=================
>   =DX   30309                         <=================
> Options: extended
> No first char
> No need char


That is all as expected, *except* for the two lines I've marked, which
should not be there. The count of named subpatterns is obviously
incorrect. I do not know what to do now. We need someone with Windows
programming experience to find out exactly what is going wrong.

Regards,
Philip


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email