Section (3) pcre2_jit_match
PCRE2 — Perl-compatible regular expressions (revised API)
#include <pcre2.h> int pcre2_jit_match(const pcre2_code *
options, pcre2_match_data *
match_data, pcre2_match_context *
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_zsingle_quotesz_s. It is a fast path interface to JIT, and
it bypasses some of the sanity checks that
pcre2_match() applies. Its arguments are
exactly the same as for
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.
The return values are the same as for
PCRE2_ERROR_JIT_BADOPTION if a matching mode (partial or
complete) is requested that was not compiled. For details of
partial matching, see the pcre2partial(3) page.
This manual page is taken from the PCRE library, which is distributed under the BSD license.