Displaying 1 result from an estimated 1 matches for "pcre_study_jit_compile".
2015 Nov 28
0
[patch] Use JIT for PCRE pattern matching
...---- next part --------------
Index: src/main/grep.c
===================================================================
--- src/main/grep.c (revision 69712)
+++ src/main/grep.c (working copy)
@@ -52,6 +52,10 @@
# include <config.h>
#endif
+/* Compatibility with PCRE < 8.20 */
+#ifndef PCRE_STUDY_JIT_COMPILE
+# define PCRE_STUDY_JIT_COMPILE 0
+#endif
/* interval at which to check interrupts */
#define NINTERRUPT 1000000
@@ -405,7 +409,7 @@
errorptr, split+erroffset);
error(_("invalid split pattern '%s'"), split);
}
- re_pe = pcre_study(re_pcre, 0, &errorpt...