59 lines
2.0 KiB
HTML
59 lines
2.0 KiB
HTML
<html>
|
|
<head>
|
|
<title>pcre2_jit_match specification</title>
|
|
</head>
|
|
<body bgcolor="#FFFFFF" text="#00005A" link="#0066FF" alink="#3399FF" vlink="#2222BB">
|
|
<h1>pcre2_jit_match man page</h1>
|
|
<p>
|
|
Return to the <a href="index.html">PCRE2 index page</a>.
|
|
</p>
|
|
<p>
|
|
This page is part of the PCRE2 HTML documentation. It was generated
|
|
automatically from the original man page. If there is any nonsense in it,
|
|
please consult the man page, in case the conversion went wrong.
|
|
<br>
|
|
<br><b>
|
|
SYNOPSIS
|
|
</b><br>
|
|
<P>
|
|
<b>#include <pcre2.h></b>
|
|
</P>
|
|
<P>
|
|
<b>int pcre2_jit_match(const pcre2_code *<i>code</i>, PCRE2_SPTR <i>subject</i>,</b>
|
|
<b> PCRE2_SIZE <i>length</i>, PCRE2_SIZE <i>startoffset</i>,</b>
|
|
<b> uint32_t <i>options</i>, pcre2_match_data *<i>match_data</i>,</b>
|
|
<b> pcre2_match_context *<i>mcontext</i>);</b>
|
|
</P>
|
|
<br><b>
|
|
DESCRIPTION
|
|
</b><br>
|
|
<P>
|
|
This function matches a compiled regular expression that has been successfully
|
|
processed by the JIT compiler against a given subject string, using a matching
|
|
algorithm that is similar to Perl's. It is a "fast path" interface to JIT, and
|
|
it bypasses some of the sanity checks that <b>pcre2_match()</b> applies.
|
|
Its arguments are exactly the same as for
|
|
<a href="pcre2_match.html"><b>pcre2_match()</b>.</a>
|
|
</P>
|
|
<P>
|
|
The supported options are PCRE2_NOTBOL, PCRE2_NOTEOL, PCRE2_NOTEMPTY,
|
|
PCRE2_NOTEMPTY_ATSTART, PCRE2_PARTIAL_HARD, and PCRE2_PARTIAL_SOFT. Unsupported
|
|
options are ignored. The subject string is not checked for UTF validity.
|
|
</P>
|
|
<P>
|
|
The return values are the same as for <b>pcre2_match()</b> plus
|
|
PCRE2_ERROR_JIT_BADOPTION if a matching mode (partial or complete) is requested
|
|
that was not compiled. For details of partial matching, see the
|
|
<a href="pcre2partial.html"><b>pcre2partial</b></a>
|
|
page.
|
|
</P>
|
|
<P>
|
|
There is a complete description of the PCRE2 native API in the
|
|
<a href="pcre2api.html"><b>pcre2api</b></a>
|
|
page and a description of the JIT API in the
|
|
<a href="pcre2jit.html"><b>pcre2jit</b></a>
|
|
page.
|
|
<p>
|
|
Return to the <a href="index.html">PCRE2 index page</a>.
|
|
</p>
|