3 <title>pcre2_jit_compile specification</title>
5 <body bgcolor="#FFFFFF" text="#00005A" link="#0066FF" alink="#3399FF" vlink="#2222BB">
6 <h1>pcre2_jit_compile man page</h1>
8 Return to the <a href="index.html">PCRE2 index page</a>.
11 This page is part of the PCRE2 HTML documentation. It was generated
12 automatically from the original man page. If there is any nonsense in it,
13 please consult the man page, in case the conversion went wrong.
19 <b>#include <pcre2.h></b>
22 <b>int pcre2_jit_compile(pcre2_code *<i>code</i>, uint32_t <i>options</i>);</b>
28 This function requests JIT compilation, which, if the just-in-time compiler is
29 available, further processes a compiled pattern into machine code that executes
30 much faster than the <b>pcre2_match()</b> interpretive matching function. Full
31 details are given in the
32 <a href="pcre2jit.html"><b>pcre2jit</b></a>
36 The first argument is a pointer that was returned by a successful call to
37 <b>pcre2_compile()</b>, and the second must contain one or more of the following
40 PCRE2_JIT_COMPLETE compile code for full matching
41 PCRE2_JIT_PARTIAL_SOFT compile code for soft partial matching
42 PCRE2_JIT_PARTIAL_HARD compile code for hard partial matching
44 The yield of the function is 0 for success, or a negative error code otherwise.
45 In particular, PCRE2_ERROR_JIT_BADOPTION is returned if JIT is not supported or
46 if an unknown bit is set in <i>options</i>.
49 There is a complete description of the PCRE2 native API in the
50 <a href="pcre2api.html"><b>pcre2api</b></a>
51 page and a description of the POSIX API in the
52 <a href="pcre2posix.html"><b>pcre2posix</b></a>
55 Return to the <a href="index.html">PCRE2 index page</a>.