1 .TH PCRE2_JIT_COMPILE 3 "21 October 2014" "PCRE2 10.00"
3 PCRE2 - Perl-compatible regular expressions (revised API)
10 .B int pcre2_jit_compile(pcre2_code *\fIcode\fP, uint32_t \fIoptions\fP);
16 This function requests JIT compilation, which, if the just-in-time compiler is
17 available, further processes a compiled pattern into machine code that executes
18 much faster than the \fBpcre2_match()\fP interpretive matching function. Full
19 details are given in the
25 The first argument is a pointer that was returned by a successful call to
26 \fBpcre2_compile()\fP, and the second must contain one or more of the following
29 PCRE2_JIT_COMPLETE compile code for full matching
30 PCRE2_JIT_PARTIAL_SOFT compile code for soft partial matching
31 PCRE2_JIT_PARTIAL_HARD compile code for hard partial matching
33 The yield of the function is 0 for success, or a negative error code otherwise.
34 In particular, PCRE2_ERROR_JIT_BADOPTION is returned if JIT is not supported or
35 if an unknown bit is set in \fIoptions\fP.
37 There is a complete description of the PCRE2 native API in the
41 page and a description of the POSIX API in the