1PCRE2_JIT_MATCH(3)         Library Functions Manual         PCRE2_JIT_MATCH(3)
2
3
4

NAME

6       PCRE2 - Perl-compatible regular expressions (revised API)
7

SYNOPSIS

9
10       #include <pcre2.h>
11
12       int pcre2_jit_match(const pcre2_code *code, PCRE2_SPTR subject,
13         PCRE2_SIZE length, PCRE2_SIZE startoffset,
14         uint32_t options, pcre2_match_data *match_data,
15         pcre2_match_context *mcontext);
16

DESCRIPTION

18
19       This  function matches a compiled regular expression that has been suc‐
20       cessfully processed by the JIT compiler against a given subject string,
21       using  a  matching  algorithm  that is similar to Perl's. It is a "fast
22       path" interface to JIT, and it bypasses some of the sanity checks  that
23       pcre2_match()  applies.   Its  arguments  are  exactly  the same as for
24       pcre2_match(), except that the subject string must be specified with  a
25       length; PCRE2_ZERO_TERMINATED is not supported.
26
27       The  supported  options are PCRE2_NOTBOL, PCRE2_NOTEOL, PCRE2_NOTEMPTY,
28       PCRE2_NOTEMPTY_ATSTART,  PCRE2_PARTIAL_HARD,  and   PCRE2_PARTIAL_SOFT.
29       Unsupported  options are ignored. The subject string is not checked for
30       UTF validity.
31
32       The  return  values  are   the   same   as   for   pcre2_match()   plus
33       PCRE2_ERROR_JIT_BADOPTION  if  a matching mode (partial or complete) is
34       requested that was not compiled. For details of partial  matching,  see
35       the pcre2partial page.
36
37       There is a complete description of the PCRE2 native API in the pcre2api
38       page and a description of the JIT API in the pcre2jit page.
39
40
41
42PCRE2 10.35                    11 February 2020             PCRE2_JIT_MATCH(3)
Impressum