Re: [pcre-dev] Problem with a regexp

Inizio della pagina
Delete this message
Autore: Thomas Weber
Data:  
To: pcre-dev
Oggetto: Re: [pcre-dev] Problem with a regexp
Am Montag, den 22.09.2008, 12:21 +0100 schrieb Philip Hazel:
> On Sun, 21 Sep 2008, Thomas Weber wrote:
> > 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.


Yes, but shouldn't it match the definition of match_limit in the
definition of the pcre_extra struct (in pcre.h)?

I'm not that deep into C, so it's well possible that it doesn't make a
difference.

    Thomas