Re: [pcre-dev] Problem with a regexp

Page principale
Supprimer ce message
Auteur: Philip Hazel
Date:  
À: Thomas Weber
CC: pcre-dev
Sujet: Re: [pcre-dev] Problem with a regexp
On Sun, 21 Sep 2008, Thomas Weber wrote:

> The regexp is user-supplied, so I don't have much choice here :)


Ah, users, users. Life would be so much easier without users... :-)

> One question, though:
> In the 7.8 release, line 107 in pcre_config. reads:
>
> *((unsigned int *)where) = MATCH_LIMIT;
>
> Shouldn't this be
> *((unsigned long int *)where) = MATCH_LIMIT;


I don't think so. The output is documented as being an integer.

Philip

--
Philip Hazel