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

Top Page
Delete this message
Author: Philip Hazel
Date:  
To: pcre-dev
Subject: [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 #4 from Philip Hazel <ph10@???> 2008-07-14 19:41:26 ---
On Mon, 14 Jul 2008, Dmitry Ukolov wrote:

> --- Comment #2 from Dmitry Ukolov <udmitry@???> 2008-07-14 18:00:21 ---
> I have compiled PCRETEST 7.0, downloaded from
> http://gnuwin32.sourceforge.net/packages/pcre.htm (file URL is
> http://gnuwin32.sourceforge.net/downlinks/pcre-bin-zip.php)
>
> results of test:
> >>>
> PCRE version 7.0 18-Dec-2006
>
> re> /(?x)1|2# (?<N>3)/I
> Capturing subpattern count = 0
> Named capturing subpatterns:
> BSX 11862


That result is nonsense, of course. If there are no capturing
subpatterns, there cannot be any named capturing subpatterns. Something
is going wrong on your Windows box. I have no idea what it might be. I
don't use Windows, so I haven't any idea as to what to do to find out
what is causing the problem.

What output do you get from

/(?x)1|2# (?<N>3)/D

in pcretest? (Use "D" instead of "I" to get more debugging info.)

Are there any Windows users on the pcre-dev list (to which this message
goes) who are able to help debug this?

Regards,
Philip


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