search for: pcre_config_jit

Displaying 1 result from an estimated 1 matches for "pcre_config_jit".

2015 Nov 28
0
[patch] Use JIT for PCRE pattern matching
...} - re_pe = pcre_study(re_pcre, 0, &errorptr); + re_pe = pcre_study(re_pcre, PCRE_STUDY_JIT_COMPILE, &errorptr); if (errorptr) warning(_("PCRE pattern study error\n\t'%s'\n"), errorptr); @@ -482,7 +486,11 @@ } vmaxset(vmax2); } +#ifdef PCRE_CONFIG_JIT + pcre_free_study(re_pe); +#else pcre_free(re_pe); +#endif pcre_free(re_pcre); } else if (!useBytes && use_UTF8) { /* ERE in wchar_t */ regex_t reg; @@ -867,12 +875,12 @@ warning(_("PCRE pattern compilation error\n\t'%s'\n\tat '%s'\n"),...