1 <html> 2 <head> 3 <title>pcre2_jit_compile specification</title> 4 </head> 5 <body bgcolor="#FFFFFF" text="#00005A" link="#0066FF" alink="#3399FF" vlink="#2222BB"> 6 <h1>pcre2_jit_compile man page</h1> 7 <p> 8 Return to the <a href="index.html">PCRE2 index page</a>. 9 </p> 10 <p> 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. 14 <br> 15 <br><b> 16 SYNOPSIS 17 </b><br> 18 <P> 19 <b>#include <pcre2.h></b> 20 </P> 21 <P> 22 <b>int pcre2_jit_compile(pcre2_code *<i>code</i>, uint32_t <i>options</i>);</b> 23 </P> 24 <br><b> 25 DESCRIPTION 26 </b><br> 27 <P> 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> 33 documentation. 34 </P> 35 <P> 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 38 bits: 39 <pre> 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 43 </pre> 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>. 47 </P> 48 <P> 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> 53 page. 54 <p> 55 Return to the <a href="index.html">PCRE2 index page</a>. 56 </p> 57