Re: [pcre-dev] [Bug 733] pcre_fullinfo() returns wrong PCRE_…

Page principale
Supprimer ce message
Auteur: A.Steenveld
Date:  
À: pcre-dev
CC: pcre-dev
Sujet: Re: [pcre-dev] [Bug 733] pcre_fullinfo() returns wrong PCRE_INFO_NAMECOUNT on some patterns
________________________________

Van: Philip Hazel [mailto:ph10@hermes.cam.ac.uk]
Verzonden: wo 16-7-2008 15:39
Aan: Steenveld, André
CC: pcre-dev@???
Onderwerp: Re: [pcre-dev] [Bug 733] pcre_fullinfo() returns wrong PCRE_INFO_NAMECOUNT on some patterns

On Wed, 16 Jul 2008, A.Steenveld@??? wrote:

> What else can I do to test?


Please put on the "options" patch that was posted here (see below) and
check whether it fixes the problem. Thanks very much for testing.

Philip

--
Philip Hazel



--- pcre-7.7/pcre_compile.c Mon Apr 28 16:06:46 2008
...
else
{
===============================================================

Took the patch, done the test, this is what I got.

Rebuild and tests were all done on a Vista home edition (Dutch) using gcc.
A run on the test data was all OK.

...\Project\PCRE>pcretest
PCRE version 7.7 2008-05-07

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

Capturing subpattern count = 0
Options: extended
No first char
No need char
data>





Het UMC St Radboud staat geregistreerd bij de Kamer van Koophandel in het handelsregister onder nummer 41055629.
The Radboud University Nijmegen Medical Centre is listed in the Commercial Register of the Chamber of Commerce under file number 41055629.