Szerző: Philip Hazel Dátum: Címzett: Zoltán Herczeg CC: pcre-dev Tárgy: Re: [pcre-dev] Forcing study to return with something
On Sun, 12 Aug 2012, Zoltán Herczeg wrote:
> What about PCRE_STUDY_EXTRA_NEEDED?
Yes. Much better.
> My problem with NONULL that the study would still return NULL in case
> of an error (rare case, means that the regex is invalid, i.e wrong
> magic number). Thus, this feature could also be used for error check.
Yes again. I thought about that afterwards (another error state is
failure of malloc).