[pcre-dev] pcre2_match() flag to disable JIT

Página Principal
Apagar esta mensagem
Autor: Mitchell Blank
Data:  
Para: pcre-dev
Assunto: [pcre-dev] pcre2_match() flag to disable JIT
I was looking for a way to disable the JIT on a per-match basis. (For
example, in the case that PCRE2_ERROR_JIT_STACKLIMIT would be
triggered) It seems there isn't a way to do this?

Looking at the code it seems that this would be an extremely easy
feature to add -- it seems that all that would be required is to add
the flag to PUBLIC_MATCH_OPTIONS but not PUBLIC_JIT_MATCH_OPTIONS.

Would it be more complicated than I think? Is there some other reason
that there isn't a match flag for this?

-Mitch