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).

Philip

-- 
Philip Hazel
-- 
## List details at https://lists.exim.org/mailman/listinfo/pcre-dev 

Reply via email to