Re: [pcre-dev] Problem with a regexp

Αρχική Σελίδα
Delete this message
Συντάκτης: Philip Hazel
Ημερομηνία:  
Προς: Thomas Weber
Υ/ο: pcre-dev
Αντικείμενο: 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