QtBase  v6.3.1
Classes | Macros | Typedefs | Enumerations
pcre2_internal.h File Reference
#include <ctype.h>
#include <limits.h>
#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "pcre2.h"
#include "pcre2_ucp.h"
Include dependency graph for pcre2_internal.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  pcre2_memctl
 
struct  open_capitem
 
struct  ucp_type_table
 
struct  ucd_record
 
struct  pcre2_serialized_data
 

Macros

#define FALSE   0
 
#define TRUE   1
 
#define PCRE2_KEEP_UNINITIALIZED
 
#define PCRE2_EXP_DECL   extern
 
#define PCRE2_EXP_DEFN   PCRE2_EXP_DECL
 
#define INT64_OR_DOUBLE   double
 
#define PRIV(name)   _pcre2_##name
 
#define memmove(a, b, c)   PRIV(memmove)(a, b, c)
 
#define NOTACHAR   0xffffffff
 
#define MAX_UTF_CODE_POINT   0x10ffff
 
#define COMPILE_ERROR_BASE   100
 
#define START_FRAMES_SIZE   20480
 
#define DFA_START_RWS_SIZE   30720
 
#define BSR_DEFAULT   PCRE2_BSR_UNICODE
 
#define HASUTF8EXTRALEN(c)   ((c) >= 0xc0)
 
#define GETUTF8(c, eptr)
 
#define GETUTF8INC(c, eptr)
 
#define GETUTF8LEN(c, eptr, len)
 
#define HSPACE_LIST
 
#define HSPACE_MULTIBYTE_CASES
 
#define HSPACE_BYTE_CASES
 
#define HSPACE_CASES
 
#define VSPACE_LIST    CHAR_LF, CHAR_VT, CHAR_FF, CHAR_CR, CHAR_NEL, 0x2028, 0x2029, NOTACHAR
 
#define VSPACE_MULTIBYTE_CASES
 
#define VSPACE_BYTE_CASES
 
#define VSPACE_CASES
 
#define NLTYPE_FIXED   0 /* Newline is a fixed length string */
 
#define NLTYPE_ANY   1 /* Newline is any Unicode line ending */
 
#define NLTYPE_ANYCRLF   2 /* Newline is CR, LF, or CRLF */
 
#define IS_NEWLINE(p)
 
#define WAS_NEWLINE(p)
 
#define PCRE2_MODE8   0x00000001 /* compiled in 8 bit mode */
 
#define PCRE2_MODE16   0x00000002 /* compiled in 16 bit mode */
 
#define PCRE2_MODE32   0x00000004 /* compiled in 32 bit mode */
 
#define PCRE2_FIRSTSET   0x00000010 /* first_code unit is set */
 
#define PCRE2_FIRSTCASELESS   0x00000020 /* caseless first code unit */
 
#define PCRE2_FIRSTMAPSET   0x00000040 /* bitmap of first code units is set */
 
#define PCRE2_LASTSET   0x00000080 /* last code unit is set */
 
#define PCRE2_LASTCASELESS   0x00000100 /* caseless last code unit */
 
#define PCRE2_STARTLINE   0x00000200 /* start after \n for multiline */
 
#define PCRE2_JCHANGED   0x00000400 /* j option used in pattern */
 
#define PCRE2_HASCRORLF   0x00000800 /* explicit \r or \n in pattern */
 
#define PCRE2_HASTHEN   0x00001000 /* pattern contains (*THEN) */
 
#define PCRE2_MATCH_EMPTY   0x00002000 /* pattern can match empty string */
 
#define PCRE2_BSR_SET   0x00004000 /* BSR was set in the pattern */
 
#define PCRE2_NL_SET   0x00008000 /* newline was set in the pattern */
 
#define PCRE2_NOTEMPTY_SET   0x00010000 /* (*NOTEMPTY) used ) keep */
 
#define PCRE2_NE_ATST_SET   0x00020000 /* (*NOTEMPTY_ATSTART) used) together */
 
#define PCRE2_DEREF_TABLES   0x00040000 /* release character tables */
 
#define PCRE2_NOJIT   0x00080000 /* (*NOJIT) used */
 
#define PCRE2_HASBKPORX   0x00100000 /* contains \P, \p, or \X */
 
#define PCRE2_DUPCAPUSED   0x00200000 /* contains (?| */
 
#define PCRE2_HASBKC   0x00400000 /* contains \C */
 
#define PCRE2_HASACCEPT   0x00800000 /* contains (*ACCEPT) */
 
#define PCRE2_MODE_MASK   (PCRE2_MODE8 | PCRE2_MODE16 | PCRE2_MODE32)
 
#define PCRE2_MD_COPIED_SUBJECT   0x01u
 
#define MAGIC_NUMBER   0x50435245UL /* 'PCRE' */
 
#define REQ_CU_MAX   2000
 
#define cbit_space   0 /* [:space:] or \s */
 
#define cbit_xdigit   32 /* [:xdigit:] */
 
#define cbit_digit   64 /* [:digit:] or \d */
 
#define cbit_upper   96 /* [:upper:] */
 
#define cbit_lower   128 /* [:lower:] */
 
#define cbit_word   160 /* [:word:] or \w */
 
#define cbit_graph   192 /* [:graph:] */
 
#define cbit_print   224 /* [:print:] */
 
#define cbit_punct   256 /* [:punct:] */
 
#define cbit_cntrl   288 /* [:cntrl:] */
 
#define cbit_length   320 /* Length of the cbits table */
 
#define ctype_space   0x01
 
#define ctype_letter   0x02
 
#define ctype_lcletter   0x04
 
#define ctype_digit   0x08
 
#define ctype_word   0x10 /* alphanumeric or '_' */
 
#define lcc_offset   0 /* Lower case */
 
#define fcc_offset   256 /* Flip case */
 
#define cbits_offset   512 /* Character classes */
 
#define ctypes_offset   (cbits_offset + cbit_length) /* Character types */
 
#define TABLES_LENGTH   (ctypes_offset + 256)
 
#define CHAR_LF   '\n'
 
#define CHAR_NL   CHAR_LF
 
#define CHAR_NEL   ((unsigned char)'\x85')
 
#define CHAR_ESC   '\033'
 
#define CHAR_DEL   '\177'
 
#define CHAR_NBSP   ((unsigned char)'\xa0')
 
#define STR_LF   "\n"
 
#define STR_NL   STR_LF
 
#define STR_NEL   "\x85"
 
#define STR_ESC   "\033"
 
#define STR_DEL   "\177"
 
#define CHAR_NUL   '\0'
 
#define CHAR_HT   '\t'
 
#define CHAR_VT   '\v'
 
#define CHAR_FF   '\f'
 
#define CHAR_CR   '\r'
 
#define CHAR_BS   '\b'
 
#define CHAR_BEL   '\a'
 
#define CHAR_SPACE   ' '
 
#define CHAR_EXCLAMATION_MARK   '!'
 
#define CHAR_QUOTATION_MARK   '"'
 
#define CHAR_NUMBER_SIGN   '#'
 
#define CHAR_DOLLAR_SIGN   '$'
 
#define CHAR_PERCENT_SIGN   '%'
 
#define CHAR_AMPERSAND   '&'
 
#define CHAR_APOSTROPHE   '\''
 
#define CHAR_LEFT_PARENTHESIS   '('
 
#define CHAR_RIGHT_PARENTHESIS   ')'
 
#define CHAR_ASTERISK   '*'
 
#define CHAR_PLUS   '+'
 
#define CHAR_COMMA   ','
 
#define CHAR_MINUS   '-'
 
#define CHAR_DOT   '.'
 
#define CHAR_SLASH   '/'
 
#define CHAR_0   '0'
 
#define CHAR_1   '1'
 
#define CHAR_2   '2'
 
#define CHAR_3   '3'
 
#define CHAR_4   '4'
 
#define CHAR_5   '5'
 
#define CHAR_6   '6'
 
#define CHAR_7   '7'
 
#define CHAR_8   '8'
 
#define CHAR_9   '9'
 
#define CHAR_COLON   ':'
 
#define CHAR_SEMICOLON   ';'
 
#define CHAR_LESS_THAN_SIGN   '<'
 
#define CHAR_EQUALS_SIGN   '='
 
#define CHAR_GREATER_THAN_SIGN   '>'
 
#define CHAR_QUESTION_MARK   '?'
 
#define CHAR_COMMERCIAL_AT   '@'
 
#define CHAR_A   'A'
 
#define CHAR_B   'B'
 
#define CHAR_C   'C'
 
#define CHAR_D   'D'
 
#define CHAR_E   'E'
 
#define CHAR_F   'F'
 
#define CHAR_G   'G'
 
#define CHAR_H   'H'
 
#define CHAR_I   'I'
 
#define CHAR_J   'J'
 
#define CHAR_K   'K'
 
#define CHAR_L   'L'
 
#define CHAR_M   'M'
 
#define CHAR_N   'N'
 
#define CHAR_O   'O'
 
#define CHAR_P   'P'
 
#define CHAR_Q   'Q'
 
#define CHAR_R   'R'
 
#define CHAR_S   'S'
 
#define CHAR_T   'T'
 
#define CHAR_U   'U'
 
#define CHAR_V   'V'
 
#define CHAR_W   'W'
 
#define CHAR_X   'X'
 
#define CHAR_Y   'Y'
 
#define CHAR_Z   'Z'
 
#define CHAR_LEFT_SQUARE_BRACKET   '['
 
#define CHAR_BACKSLASH   '\\'
 
#define CHAR_RIGHT_SQUARE_BRACKET   ']'
 
#define CHAR_CIRCUMFLEX_ACCENT   '^'
 
#define CHAR_UNDERSCORE   '_'
 
#define CHAR_GRAVE_ACCENT   '`'
 
#define CHAR_a   'a'
 
#define CHAR_b   'b'
 
#define CHAR_c   'c'
 
#define CHAR_d   'd'
 
#define CHAR_e   'e'
 
#define CHAR_f   'f'
 
#define CHAR_g   'g'
 
#define CHAR_h   'h'
 
#define CHAR_i   'i'
 
#define CHAR_j   'j'
 
#define CHAR_k   'k'
 
#define CHAR_l   'l'
 
#define CHAR_m   'm'
 
#define CHAR_n   'n'
 
#define CHAR_o   'o'
 
#define CHAR_p   'p'
 
#define CHAR_q   'q'
 
#define CHAR_r   'r'
 
#define CHAR_s   's'
 
#define CHAR_t   't'
 
#define CHAR_u   'u'
 
#define CHAR_v   'v'
 
#define CHAR_w   'w'
 
#define CHAR_x   'x'
 
#define CHAR_y   'y'
 
#define CHAR_z   'z'
 
#define CHAR_LEFT_CURLY_BRACKET   '{'
 
#define CHAR_VERTICAL_LINE   '|'
 
#define CHAR_RIGHT_CURLY_BRACKET   '}'
 
#define CHAR_TILDE   '~'
 
#define STR_HT   "\t"
 
#define STR_VT   "\v"
 
#define STR_FF   "\f"
 
#define STR_CR   "\r"
 
#define STR_BS   "\b"
 
#define STR_BEL   "\a"
 
#define STR_SPACE   " "
 
#define STR_EXCLAMATION_MARK   "!"
 
#define STR_QUOTATION_MARK   "\""
 
#define STR_NUMBER_SIGN   "#"
 
#define STR_DOLLAR_SIGN   "$"
 
#define STR_PERCENT_SIGN   "%"
 
#define STR_AMPERSAND   "&"
 
#define STR_APOSTROPHE   "'"
 
#define STR_LEFT_PARENTHESIS   "("
 
#define STR_RIGHT_PARENTHESIS   ")"
 
#define STR_ASTERISK   "*"
 
#define STR_PLUS   "+"
 
#define STR_COMMA   ","
 
#define STR_MINUS   "-"
 
#define STR_DOT   "."
 
#define STR_SLASH   "/"
 
#define STR_0   "0"
 
#define STR_1   "1"
 
#define STR_2   "2"
 
#define STR_3   "3"
 
#define STR_4   "4"
 
#define STR_5   "5"
 
#define STR_6   "6"
 
#define STR_7   "7"
 
#define STR_8   "8"
 
#define STR_9   "9"
 
#define STR_COLON   ":"
 
#define STR_SEMICOLON   ";"
 
#define STR_LESS_THAN_SIGN   "<"
 
#define STR_EQUALS_SIGN   "="
 
#define STR_GREATER_THAN_SIGN   ">"
 
#define STR_QUESTION_MARK   "?"
 
#define STR_COMMERCIAL_AT   "@"
 
#define STR_A   "A"
 
#define STR_B   "B"
 
#define STR_C   "C"
 
#define STR_D   "D"
 
#define STR_E   "E"
 
#define STR_F   "F"
 
#define STR_G   "G"
 
#define STR_H   "H"
 
#define STR_I   "I"
 
#define STR_J   "J"
 
#define STR_K   "K"
 
#define STR_L   "L"
 
#define STR_M   "M"
 
#define STR_N   "N"
 
#define STR_O   "O"
 
#define STR_P   "P"
 
#define STR_Q   "Q"
 
#define STR_R   "R"
 
#define STR_S   "S"
 
#define STR_T   "T"
 
#define STR_U   "U"
 
#define STR_V   "V"
 
#define STR_W   "W"
 
#define STR_X   "X"
 
#define STR_Y   "Y"
 
#define STR_Z   "Z"
 
#define STR_LEFT_SQUARE_BRACKET   "["
 
#define STR_BACKSLASH   "\\"
 
#define STR_RIGHT_SQUARE_BRACKET   "]"
 
#define STR_CIRCUMFLEX_ACCENT   "^"
 
#define STR_UNDERSCORE   "_"
 
#define STR_GRAVE_ACCENT   "`"
 
#define STR_a   "a"
 
#define STR_b   "b"
 
#define STR_c   "c"
 
#define STR_d   "d"
 
#define STR_e   "e"
 
#define STR_f   "f"
 
#define STR_g   "g"
 
#define STR_h   "h"
 
#define STR_i   "i"
 
#define STR_j   "j"
 
#define STR_k   "k"
 
#define STR_l   "l"
 
#define STR_m   "m"
 
#define STR_n   "n"
 
#define STR_o   "o"
 
#define STR_p   "p"
 
#define STR_q   "q"
 
#define STR_r   "r"
 
#define STR_s   "s"
 
#define STR_t   "t"
 
#define STR_u   "u"
 
#define STR_v   "v"
 
#define STR_w   "w"
 
#define STR_x   "x"
 
#define STR_y   "y"
 
#define STR_z   "z"
 
#define STR_LEFT_CURLY_BRACKET   "{"
 
#define STR_VERTICAL_LINE   "|"
 
#define STR_RIGHT_CURLY_BRACKET   "}"
 
#define STR_TILDE   "~"
 
#define STRING_ACCEPT0   "ACCEPT\0"
 
#define STRING_COMMIT0   "COMMIT\0"
 
#define STRING_F0   "F\0"
 
#define STRING_FAIL0   "FAIL\0"
 
#define STRING_MARK0   "MARK\0"
 
#define STRING_PRUNE0   "PRUNE\0"
 
#define STRING_SKIP0   "SKIP\0"
 
#define STRING_THEN   "THEN"
 
#define STRING_atomic0   "atomic\0"
 
#define STRING_pla0   "pla\0"
 
#define STRING_plb0   "plb\0"
 
#define STRING_napla0   "napla\0"
 
#define STRING_naplb0   "naplb\0"
 
#define STRING_nla0   "nla\0"
 
#define STRING_nlb0   "nlb\0"
 
#define STRING_sr0   "sr\0"
 
#define STRING_asr0   "asr\0"
 
#define STRING_positive_lookahead0   "positive_lookahead\0"
 
#define STRING_positive_lookbehind0   "positive_lookbehind\0"
 
#define STRING_non_atomic_positive_lookahead0   "non_atomic_positive_lookahead\0"
 
#define STRING_non_atomic_positive_lookbehind0   "non_atomic_positive_lookbehind\0"
 
#define STRING_negative_lookahead0   "negative_lookahead\0"
 
#define STRING_negative_lookbehind0   "negative_lookbehind\0"
 
#define STRING_script_run0   "script_run\0"
 
#define STRING_atomic_script_run   "atomic_script_run"
 
#define STRING_alpha0   "alpha\0"
 
#define STRING_lower0   "lower\0"
 
#define STRING_upper0   "upper\0"
 
#define STRING_alnum0   "alnum\0"
 
#define STRING_ascii0   "ascii\0"
 
#define STRING_blank0   "blank\0"
 
#define STRING_cntrl0   "cntrl\0"
 
#define STRING_digit0   "digit\0"
 
#define STRING_graph0   "graph\0"
 
#define STRING_print0   "print\0"
 
#define STRING_punct0   "punct\0"
 
#define STRING_space0   "space\0"
 
#define STRING_word0   "word\0"
 
#define STRING_xdigit   "xdigit"
 
#define STRING_DEFINE   "DEFINE"
 
#define STRING_VERSION   "VERSION"
 
#define STRING_WEIRD_STARTWORD   "[:<:]]"
 
#define STRING_WEIRD_ENDWORD   "[:>:]]"
 
#define STRING_CR_RIGHTPAR   "CR)"
 
#define STRING_LF_RIGHTPAR   "LF)"
 
#define STRING_CRLF_RIGHTPAR   "CRLF)"
 
#define STRING_ANY_RIGHTPAR   "ANY)"
 
#define STRING_ANYCRLF_RIGHTPAR   "ANYCRLF)"
 
#define STRING_NUL_RIGHTPAR   "NUL)"
 
#define STRING_BSR_ANYCRLF_RIGHTPAR   "BSR_ANYCRLF)"
 
#define STRING_BSR_UNICODE_RIGHTPAR   "BSR_UNICODE)"
 
#define STRING_UTF8_RIGHTPAR   "UTF8)"
 
#define STRING_UTF16_RIGHTPAR   "UTF16)"
 
#define STRING_UTF32_RIGHTPAR   "UTF32)"
 
#define STRING_UTF_RIGHTPAR   "UTF)"
 
#define STRING_UCP_RIGHTPAR   "UCP)"
 
#define STRING_NO_AUTO_POSSESS_RIGHTPAR   "NO_AUTO_POSSESS)"
 
#define STRING_NO_DOTSTAR_ANCHOR_RIGHTPAR   "NO_DOTSTAR_ANCHOR)"
 
#define STRING_NO_JIT_RIGHTPAR   "NO_JIT)"
 
#define STRING_NO_START_OPT_RIGHTPAR   "NO_START_OPT)"
 
#define STRING_NOTEMPTY_RIGHTPAR   "NOTEMPTY)"
 
#define STRING_NOTEMPTY_ATSTART_RIGHTPAR   "NOTEMPTY_ATSTART)"
 
#define STRING_LIMIT_HEAP_EQ   "LIMIT_HEAP="
 
#define STRING_LIMIT_MATCH_EQ   "LIMIT_MATCH="
 
#define STRING_LIMIT_DEPTH_EQ   "LIMIT_DEPTH="
 
#define STRING_LIMIT_RECURSION_EQ   "LIMIT_RECURSION="
 
#define STRING_MARK   "MARK"
 
#define STRING_bc   "bc"
 
#define STRING_bidiclass   "bidiclass"
 
#define STRING_sc   "sc"
 
#define STRING_script   "script"
 
#define STRING_scriptextensions   "scriptextensions"
 
#define STRING_scx   "scx"
 
#define PT_ANY   0 /* Any property - matches all chars */
 
#define PT_LAMP   1 /* L& - the union of Lu, Ll, Lt */
 
#define PT_GC   2 /* Specified general characteristic (e.g. L) */
 
#define PT_PC   3 /* Specified particular characteristic (e.g. Lu) */
 
#define PT_SC   4 /* Script only (e.g. Han) */
 
#define PT_SCX   5 /* Script extensions (includes SC) */
 
#define PT_ALNUM   6 /* Alphanumeric - the union of L and N */
 
#define PT_SPACE   7 /* Perl space - general category Z plus 9,10,12,13 */
 
#define PT_PXSPACE   8 /* POSIX space - Z plus 9,10,11,12,13 */
 
#define PT_WORD   9 /* Word - L plus N plus underscore */
 
#define PT_CLIST   10 /* Pseudo-property: match character list */
 
#define PT_UCNC   11 /* Universal Character nameable character */
 
#define PT_BIDICL   12 /* Specified bidi class */
 
#define PT_BOOL   13 /* Boolean property */
 
#define PT_TABSIZE   14 /* Size of square table for autopossessify tests */
 
#define PT_PXGRAPH   14 /* [:graph:] - characters that mark the paper */
 
#define PT_PXPRINT   15 /* [:print:] - [:graph:] plus non-control spaces */
 
#define PT_PXPUNCT   16 /* [:punct:] - punctuation characters */
 
#define PT_NOTSCRIPT   255
 
#define XCL_NOT   0x01 /* Flag: this is a negative class */
 
#define XCL_MAP   0x02 /* Flag: a 32-byte map is present */
 
#define XCL_HASPROP   0x04 /* Flag: property checks are present. */
 
#define XCL_END   0 /* Marks end of individual items */
 
#define XCL_SINGLE   1 /* Single item (one multibyte char) follows */
 
#define XCL_RANGE   2 /* A range (two multibyte chars) follows */
 
#define XCL_PROP   3 /* Unicode property (2-byte property code follows) */
 
#define XCL_NOTPROP   4 /* Unicode inverted property (ditto) */
 
#define FIRST_AUTOTAB_OP   OP_NOT_DIGIT
 
#define LAST_AUTOTAB_LEFT_OP   OP_EXTUNI
 
#define LAST_AUTOTAB_RIGHT_OP   OP_DOLLM
 
#define OP_NAME_LIST
 
#define OP_LENGTHS
 
#define RREF_ANY   0xffff
 
#define UCD_BLOCK_SIZE   128
 
#define REAL_GET_UCD(ch)
 
#define GET_UCD(ch)   REAL_GET_UCD(ch)
 
#define UCD_SCRIPTX_MASK   0x3ff
 
#define UCD_BIDICLASS_SHIFT   11
 
#define UCD_BPROPS_MASK   0xfff
 
#define UCD_SCRIPTX_PROP(prop)   ((prop)->scriptx_bidiclass & UCD_SCRIPTX_MASK)
 
#define UCD_BIDICLASS_PROP(prop)   ((prop)->scriptx_bidiclass >> UCD_BIDICLASS_SHIFT)
 
#define UCD_BPROPS_PROP(prop)   ((prop)->bprops & UCD_BPROPS_MASK)
 
#define UCD_CHARTYPE(ch)   GET_UCD(ch)->chartype
 
#define UCD_SCRIPT(ch)   GET_UCD(ch)->script
 
#define UCD_CATEGORY(ch)   PRIV(ucp_gentype)[UCD_CHARTYPE(ch)]
 
#define UCD_GRAPHBREAK(ch)   GET_UCD(ch)->gbprop
 
#define UCD_CASESET(ch)   GET_UCD(ch)->caseset
 
#define UCD_OTHERCASE(ch)   ((uint32_t)((int)ch + (int)(GET_UCD(ch)->other_case)))
 
#define UCD_SCRIPTX(ch)   UCD_SCRIPTX_PROP(GET_UCD(ch))
 
#define UCD_BPROPS(ch)   UCD_BPROPS_PROP(GET_UCD(ch))
 
#define UCD_BIDICLASS(ch)   UCD_BIDICLASS_PROP(GET_UCD(ch))
 
#define MAPBIT(map, n)   ((map)[(n)/32]&(1u<<((n)%32)))
 
#define MAPSET(map, n)   ((map)[(n)/32]|=(1u<<((n)%32)))
 

Typedefs

typedef int BOOL
 
typedef struct pcre2_memctl pcre2_memctl
 
typedef struct open_capitem open_capitem
 
typedef struct pcre2_serialized_data pcre2_serialized_data
 

Enumerations

enum  { PCRE2_MATCHEDBY_INTERPRETER , PCRE2_MATCHEDBY_DFA_INTERPRETER , PCRE2_MATCHEDBY_JIT }
 
enum  {
  ESC_A = 1 , ESC_G , ESC_K , ESC_B ,
  ESC_b , ESC_D , ESC_d , ESC_S ,
  ESC_s , ESC_W , ESC_w , ESC_N ,
  ESC_dum , ESC_C , ESC_P , ESC_p ,
  ESC_R , ESC_H , ESC_h , ESC_V ,
  ESC_v , ESC_X , ESC_Z , ESC_z ,
  ESC_E , ESC_Q , ESC_g , ESC_k
}
 
enum  {
  OP_END , OP_SOD , OP_SOM , OP_SET_SOM ,
  OP_NOT_WORD_BOUNDARY , OP_WORD_BOUNDARY , OP_NOT_DIGIT , OP_DIGIT ,
  OP_NOT_WHITESPACE , OP_WHITESPACE , OP_NOT_WORDCHAR , OP_WORDCHAR ,
  OP_ANY , OP_ALLANY , OP_ANYBYTE , OP_NOTPROP ,
  OP_PROP , OP_ANYNL , OP_NOT_HSPACE , OP_HSPACE ,
  OP_NOT_VSPACE , OP_VSPACE , OP_EXTUNI , OP_EODN ,
  OP_EOD , OP_DOLL , OP_DOLLM , OP_CIRC ,
  OP_CIRCM , OP_CHAR , OP_CHARI , OP_NOT ,
  OP_NOTI , OP_STAR , OP_MINSTAR , OP_PLUS ,
  OP_MINPLUS , OP_QUERY , OP_MINQUERY , OP_UPTO ,
  OP_MINUPTO , OP_EXACT , OP_POSSTAR , OP_POSPLUS ,
  OP_POSQUERY , OP_POSUPTO , OP_STARI , OP_MINSTARI ,
  OP_PLUSI , OP_MINPLUSI , OP_QUERYI , OP_MINQUERYI ,
  OP_UPTOI , OP_MINUPTOI , OP_EXACTI , OP_POSSTARI ,
  OP_POSPLUSI , OP_POSQUERYI , OP_POSUPTOI , OP_NOTSTAR ,
  OP_NOTMINSTAR , OP_NOTPLUS , OP_NOTMINPLUS , OP_NOTQUERY ,
  OP_NOTMINQUERY , OP_NOTUPTO , OP_NOTMINUPTO , OP_NOTEXACT ,
  OP_NOTPOSSTAR , OP_NOTPOSPLUS , OP_NOTPOSQUERY , OP_NOTPOSUPTO ,
  OP_NOTSTARI , OP_NOTMINSTARI , OP_NOTPLUSI , OP_NOTMINPLUSI ,
  OP_NOTQUERYI , OP_NOTMINQUERYI , OP_NOTUPTOI , OP_NOTMINUPTOI ,
  OP_NOTEXACTI , OP_NOTPOSSTARI , OP_NOTPOSPLUSI , OP_NOTPOSQUERYI ,
  OP_NOTPOSUPTOI , OP_TYPESTAR , OP_TYPEMINSTAR , OP_TYPEPLUS ,
  OP_TYPEMINPLUS , OP_TYPEQUERY , OP_TYPEMINQUERY , OP_TYPEUPTO ,
  OP_TYPEMINUPTO , OP_TYPEEXACT , OP_TYPEPOSSTAR , OP_TYPEPOSPLUS ,
  OP_TYPEPOSQUERY , OP_TYPEPOSUPTO , OP_CRSTAR , OP_CRMINSTAR ,
  OP_CRPLUS , OP_CRMINPLUS , OP_CRQUERY , OP_CRMINQUERY ,
  OP_CRRANGE , OP_CRMINRANGE , OP_CRPOSSTAR , OP_CRPOSPLUS ,
  OP_CRPOSQUERY , OP_CRPOSRANGE , OP_CLASS , OP_NCLASS ,
  OP_XCLASS , OP_REF , OP_REFI , OP_DNREF ,
  OP_DNREFI , OP_RECURSE , OP_CALLOUT , OP_CALLOUT_STR ,
  OP_ALT , OP_KET , OP_KETRMAX , OP_KETRMIN ,
  OP_KETRPOS , OP_REVERSE , OP_ASSERT , OP_ASSERT_NOT ,
  OP_ASSERTBACK , OP_ASSERTBACK_NOT , OP_ASSERT_NA , OP_ASSERTBACK_NA ,
  OP_ONCE , OP_SCRIPT_RUN , OP_BRA , OP_BRAPOS ,
  OP_CBRA , OP_CBRAPOS , OP_COND , OP_SBRA ,
  OP_SBRAPOS , OP_SCBRA , OP_SCBRAPOS , OP_SCOND ,
  OP_CREF , OP_DNCREF , OP_RREF , OP_DNRREF ,
  OP_FALSE , OP_TRUE , OP_BRAZERO , OP_BRAMINZERO ,
  OP_BRAPOSZERO , OP_MARK , OP_PRUNE , OP_PRUNE_ARG ,
  OP_SKIP , OP_SKIP_ARG , OP_THEN , OP_THEN_ARG ,
  OP_COMMIT , OP_COMMIT_ARG , OP_FAIL , OP_ACCEPT ,
  OP_ASSERT_ACCEPT , OP_CLOSE , OP_SKIPZERO , OP_DEFINE ,
  OP_TABLE_LENGTH
}
 

Macro Definition Documentation

◆ BSR_DEFAULT

#define BSR_DEFAULT   PCRE2_BSR_UNICODE

Definition at line 243 of file pcre2_internal.h.

◆ cbit_cntrl

#define cbit_cntrl   288 /* [:cntrl:] */

Definition at line 573 of file pcre2_internal.h.

◆ cbit_digit

#define cbit_digit   64 /* [:digit:] or \d */

Definition at line 566 of file pcre2_internal.h.

◆ cbit_graph

#define cbit_graph   192 /* [:graph:] */

Definition at line 570 of file pcre2_internal.h.

◆ cbit_length

#define cbit_length   320 /* Length of the cbits table */

Definition at line 574 of file pcre2_internal.h.

◆ cbit_lower

#define cbit_lower   128 /* [:lower:] */

Definition at line 568 of file pcre2_internal.h.

◆ cbit_print

#define cbit_print   224 /* [:print:] */

Definition at line 571 of file pcre2_internal.h.

◆ cbit_punct

#define cbit_punct   256 /* [:punct:] */

Definition at line 572 of file pcre2_internal.h.

◆ cbit_space

#define cbit_space   0 /* [:space:] or \s */

Definition at line 564 of file pcre2_internal.h.

◆ cbit_upper

#define cbit_upper   96 /* [:upper:] */

Definition at line 567 of file pcre2_internal.h.

◆ cbit_word

#define cbit_word   160 /* [:word:] or \w */

Definition at line 569 of file pcre2_internal.h.

◆ cbit_xdigit

#define cbit_xdigit   32 /* [:xdigit:] */

Definition at line 565 of file pcre2_internal.h.

◆ cbits_offset

#define cbits_offset   512 /* Character classes */

Definition at line 591 of file pcre2_internal.h.

◆ CHAR_0

#define CHAR_0   '0'

Definition at line 702 of file pcre2_internal.h.

◆ CHAR_1

#define CHAR_1   '1'

Definition at line 703 of file pcre2_internal.h.

◆ CHAR_2

#define CHAR_2   '2'

Definition at line 704 of file pcre2_internal.h.

◆ CHAR_3

#define CHAR_3   '3'

Definition at line 705 of file pcre2_internal.h.

◆ CHAR_4

#define CHAR_4   '4'

Definition at line 706 of file pcre2_internal.h.

◆ CHAR_5

#define CHAR_5   '5'

Definition at line 707 of file pcre2_internal.h.

◆ CHAR_6

#define CHAR_6   '6'

Definition at line 708 of file pcre2_internal.h.

◆ CHAR_7

#define CHAR_7   '7'

Definition at line 709 of file pcre2_internal.h.

◆ CHAR_8

#define CHAR_8   '8'

Definition at line 710 of file pcre2_internal.h.

◆ CHAR_9

#define CHAR_9   '9'

Definition at line 711 of file pcre2_internal.h.

◆ CHAR_A

#define CHAR_A   'A'

Definition at line 719 of file pcre2_internal.h.

◆ CHAR_a

#define CHAR_a   'a'

Definition at line 751 of file pcre2_internal.h.

◆ CHAR_AMPERSAND

#define CHAR_AMPERSAND   '&'

Definition at line 692 of file pcre2_internal.h.

◆ CHAR_APOSTROPHE

#define CHAR_APOSTROPHE   '\''

Definition at line 693 of file pcre2_internal.h.

◆ CHAR_ASTERISK

#define CHAR_ASTERISK   '*'

Definition at line 696 of file pcre2_internal.h.

◆ CHAR_B

#define CHAR_B   'B'

Definition at line 720 of file pcre2_internal.h.

◆ CHAR_b

#define CHAR_b   'b'

Definition at line 752 of file pcre2_internal.h.

◆ CHAR_BACKSLASH

#define CHAR_BACKSLASH   '\\'

Definition at line 746 of file pcre2_internal.h.

◆ CHAR_BEL

#define CHAR_BEL   '\a'

Definition at line 684 of file pcre2_internal.h.

◆ CHAR_BS

#define CHAR_BS   '\b'

Definition at line 683 of file pcre2_internal.h.

◆ CHAR_C

#define CHAR_C   'C'

Definition at line 721 of file pcre2_internal.h.

◆ CHAR_c

#define CHAR_c   'c'

Definition at line 753 of file pcre2_internal.h.

◆ CHAR_CIRCUMFLEX_ACCENT

#define CHAR_CIRCUMFLEX_ACCENT   '^'

Definition at line 748 of file pcre2_internal.h.

◆ CHAR_COLON

#define CHAR_COLON   ':'

Definition at line 712 of file pcre2_internal.h.

◆ CHAR_COMMA

#define CHAR_COMMA   ','

Definition at line 698 of file pcre2_internal.h.

◆ CHAR_COMMERCIAL_AT

#define CHAR_COMMERCIAL_AT   '@'

Definition at line 718 of file pcre2_internal.h.

◆ CHAR_CR

#define CHAR_CR   '\r'

Definition at line 682 of file pcre2_internal.h.

◆ CHAR_D

#define CHAR_D   'D'

Definition at line 722 of file pcre2_internal.h.

◆ CHAR_d

#define CHAR_d   'd'

Definition at line 754 of file pcre2_internal.h.

◆ CHAR_DEL

#define CHAR_DEL   '\177'

Definition at line 665 of file pcre2_internal.h.

◆ CHAR_DOLLAR_SIGN

#define CHAR_DOLLAR_SIGN   '$'

Definition at line 690 of file pcre2_internal.h.

◆ CHAR_DOT

#define CHAR_DOT   '.'

Definition at line 700 of file pcre2_internal.h.

◆ CHAR_E

#define CHAR_E   'E'

Definition at line 723 of file pcre2_internal.h.

◆ CHAR_e

#define CHAR_e   'e'

Definition at line 755 of file pcre2_internal.h.

◆ CHAR_EQUALS_SIGN

#define CHAR_EQUALS_SIGN   '='

Definition at line 715 of file pcre2_internal.h.

◆ CHAR_ESC

#define CHAR_ESC   '\033'

Definition at line 664 of file pcre2_internal.h.

◆ CHAR_EXCLAMATION_MARK

#define CHAR_EXCLAMATION_MARK   '!'

Definition at line 687 of file pcre2_internal.h.

◆ CHAR_F

#define CHAR_F   'F'

Definition at line 724 of file pcre2_internal.h.

◆ CHAR_f

#define CHAR_f   'f'

Definition at line 756 of file pcre2_internal.h.

◆ CHAR_FF

#define CHAR_FF   '\f'

Definition at line 681 of file pcre2_internal.h.

◆ CHAR_G

#define CHAR_G   'G'

Definition at line 725 of file pcre2_internal.h.

◆ CHAR_g

#define CHAR_g   'g'

Definition at line 757 of file pcre2_internal.h.

◆ CHAR_GRAVE_ACCENT

#define CHAR_GRAVE_ACCENT   '`'

Definition at line 750 of file pcre2_internal.h.

◆ CHAR_GREATER_THAN_SIGN

#define CHAR_GREATER_THAN_SIGN   '>'

Definition at line 716 of file pcre2_internal.h.

◆ CHAR_H

#define CHAR_H   'H'

Definition at line 726 of file pcre2_internal.h.

◆ CHAR_h

#define CHAR_h   'h'

Definition at line 758 of file pcre2_internal.h.

◆ CHAR_HT

#define CHAR_HT   '\t'

Definition at line 679 of file pcre2_internal.h.

◆ CHAR_I

#define CHAR_I   'I'

Definition at line 727 of file pcre2_internal.h.

◆ CHAR_i

#define CHAR_i   'i'

Definition at line 759 of file pcre2_internal.h.

◆ CHAR_J

#define CHAR_J   'J'

Definition at line 728 of file pcre2_internal.h.

◆ CHAR_j

#define CHAR_j   'j'

Definition at line 760 of file pcre2_internal.h.

◆ CHAR_K

#define CHAR_K   'K'

Definition at line 729 of file pcre2_internal.h.

◆ CHAR_k

#define CHAR_k   'k'

Definition at line 761 of file pcre2_internal.h.

◆ CHAR_L

#define CHAR_L   'L'

Definition at line 730 of file pcre2_internal.h.

◆ CHAR_l

#define CHAR_l   'l'

Definition at line 762 of file pcre2_internal.h.

◆ CHAR_LEFT_CURLY_BRACKET

#define CHAR_LEFT_CURLY_BRACKET   '{'

Definition at line 777 of file pcre2_internal.h.

◆ CHAR_LEFT_PARENTHESIS

#define CHAR_LEFT_PARENTHESIS   '('

Definition at line 694 of file pcre2_internal.h.

◆ CHAR_LEFT_SQUARE_BRACKET

#define CHAR_LEFT_SQUARE_BRACKET   '['

Definition at line 745 of file pcre2_internal.h.

◆ CHAR_LESS_THAN_SIGN

#define CHAR_LESS_THAN_SIGN   '<'

Definition at line 714 of file pcre2_internal.h.

◆ CHAR_LF

#define CHAR_LF   '\n'

Definition at line 661 of file pcre2_internal.h.

◆ CHAR_M

#define CHAR_M   'M'

Definition at line 731 of file pcre2_internal.h.

◆ CHAR_m

#define CHAR_m   'm'

Definition at line 763 of file pcre2_internal.h.

◆ CHAR_MINUS

#define CHAR_MINUS   '-'

Definition at line 699 of file pcre2_internal.h.

◆ CHAR_N

#define CHAR_N   'N'

Definition at line 732 of file pcre2_internal.h.

◆ CHAR_n

#define CHAR_n   'n'

Definition at line 764 of file pcre2_internal.h.

◆ CHAR_NBSP

#define CHAR_NBSP   ((unsigned char)'\xa0')

Definition at line 666 of file pcre2_internal.h.

◆ CHAR_NEL

#define CHAR_NEL   ((unsigned char)'\x85')

Definition at line 663 of file pcre2_internal.h.

◆ CHAR_NL

#define CHAR_NL   CHAR_LF

Definition at line 662 of file pcre2_internal.h.

◆ CHAR_NUL

#define CHAR_NUL   '\0'

Definition at line 678 of file pcre2_internal.h.

◆ CHAR_NUMBER_SIGN

#define CHAR_NUMBER_SIGN   '#'

Definition at line 689 of file pcre2_internal.h.

◆ CHAR_O

#define CHAR_O   'O'

Definition at line 733 of file pcre2_internal.h.

◆ CHAR_o

#define CHAR_o   'o'

Definition at line 765 of file pcre2_internal.h.

◆ CHAR_P

#define CHAR_P   'P'

Definition at line 734 of file pcre2_internal.h.

◆ CHAR_p

#define CHAR_p   'p'

Definition at line 766 of file pcre2_internal.h.

◆ CHAR_PERCENT_SIGN

#define CHAR_PERCENT_SIGN   '%'

Definition at line 691 of file pcre2_internal.h.

◆ CHAR_PLUS

#define CHAR_PLUS   '+'

Definition at line 697 of file pcre2_internal.h.

◆ CHAR_Q

#define CHAR_Q   'Q'

Definition at line 735 of file pcre2_internal.h.

◆ CHAR_q

#define CHAR_q   'q'

Definition at line 767 of file pcre2_internal.h.

◆ CHAR_QUESTION_MARK

#define CHAR_QUESTION_MARK   '?'

Definition at line 717 of file pcre2_internal.h.

◆ CHAR_QUOTATION_MARK

#define CHAR_QUOTATION_MARK   '"'

Definition at line 688 of file pcre2_internal.h.

◆ CHAR_R

#define CHAR_R   'R'

Definition at line 736 of file pcre2_internal.h.

◆ CHAR_r

#define CHAR_r   'r'

Definition at line 768 of file pcre2_internal.h.

◆ CHAR_RIGHT_CURLY_BRACKET

#define CHAR_RIGHT_CURLY_BRACKET   '}'

Definition at line 779 of file pcre2_internal.h.

◆ CHAR_RIGHT_PARENTHESIS

#define CHAR_RIGHT_PARENTHESIS   ')'

Definition at line 695 of file pcre2_internal.h.

◆ CHAR_RIGHT_SQUARE_BRACKET

#define CHAR_RIGHT_SQUARE_BRACKET   ']'

Definition at line 747 of file pcre2_internal.h.

◆ CHAR_S

#define CHAR_S   'S'

Definition at line 737 of file pcre2_internal.h.

◆ CHAR_s

#define CHAR_s   's'

Definition at line 769 of file pcre2_internal.h.

◆ CHAR_SEMICOLON

#define CHAR_SEMICOLON   ';'

Definition at line 713 of file pcre2_internal.h.

◆ CHAR_SLASH

#define CHAR_SLASH   '/'

Definition at line 701 of file pcre2_internal.h.

◆ CHAR_SPACE

#define CHAR_SPACE   ' '

Definition at line 686 of file pcre2_internal.h.

◆ CHAR_T

#define CHAR_T   'T'

Definition at line 738 of file pcre2_internal.h.

◆ CHAR_t

#define CHAR_t   't'

Definition at line 770 of file pcre2_internal.h.

◆ CHAR_TILDE

#define CHAR_TILDE   '~'

Definition at line 780 of file pcre2_internal.h.

◆ CHAR_U

#define CHAR_U   'U'

Definition at line 739 of file pcre2_internal.h.

◆ CHAR_u

#define CHAR_u   'u'

Definition at line 771 of file pcre2_internal.h.

◆ CHAR_UNDERSCORE

#define CHAR_UNDERSCORE   '_'

Definition at line 749 of file pcre2_internal.h.

◆ CHAR_V

#define CHAR_V   'V'

Definition at line 740 of file pcre2_internal.h.

◆ CHAR_v

#define CHAR_v   'v'

Definition at line 772 of file pcre2_internal.h.

◆ CHAR_VERTICAL_LINE

#define CHAR_VERTICAL_LINE   '|'

Definition at line 778 of file pcre2_internal.h.

◆ CHAR_VT

#define CHAR_VT   '\v'

Definition at line 680 of file pcre2_internal.h.

◆ CHAR_W

#define CHAR_W   'W'

Definition at line 741 of file pcre2_internal.h.

◆ CHAR_w

#define CHAR_w   'w'

Definition at line 773 of file pcre2_internal.h.

◆ CHAR_X

#define CHAR_X   'X'

Definition at line 742 of file pcre2_internal.h.

◆ CHAR_x

#define CHAR_x   'x'

Definition at line 774 of file pcre2_internal.h.

◆ CHAR_Y

#define CHAR_Y   'Y'

Definition at line 743 of file pcre2_internal.h.

◆ CHAR_y

#define CHAR_y   'y'

Definition at line 775 of file pcre2_internal.h.

◆ CHAR_Z

#define CHAR_Z   'Z'

Definition at line 744 of file pcre2_internal.h.

◆ CHAR_z

#define CHAR_z   'z'

Definition at line 776 of file pcre2_internal.h.

◆ COMPILE_ERROR_BASE

#define COMPILE_ERROR_BASE   100

Definition at line 221 of file pcre2_internal.h.

◆ ctype_digit

#define ctype_digit   0x08

Definition at line 583 of file pcre2_internal.h.

◆ ctype_lcletter

#define ctype_lcletter   0x04

Definition at line 582 of file pcre2_internal.h.

◆ ctype_letter

#define ctype_letter   0x02

Definition at line 581 of file pcre2_internal.h.

◆ ctype_space

#define ctype_space   0x01

Definition at line 580 of file pcre2_internal.h.

◆ ctype_word

#define ctype_word   0x10 /* alphanumeric or '_' */

Definition at line 584 of file pcre2_internal.h.

◆ ctypes_offset

#define ctypes_offset   (cbits_offset + cbit_length) /* Character types */

Definition at line 592 of file pcre2_internal.h.

◆ DFA_START_RWS_SIZE

#define DFA_START_RWS_SIZE   30720

Definition at line 236 of file pcre2_internal.h.

◆ FALSE

#define FALSE   0

Definition at line 69 of file pcre2_internal.h.

◆ fcc_offset

#define fcc_offset   256 /* Flip case */

Definition at line 590 of file pcre2_internal.h.

◆ FIRST_AUTOTAB_OP

#define FIRST_AUTOTAB_OP   OP_NOT_DIGIT

Definition at line 1364 of file pcre2_internal.h.

◆ GET_UCD

#define GET_UCD (   ch)    REAL_GET_UCD(ch)

Definition at line 1840 of file pcre2_internal.h.

◆ GETUTF8

#define GETUTF8 (   c,
  eptr 
)
Value:
{ \
if ((c & 0x20u) == 0) \
c = ((c & 0x1fu) << 6) | (eptr[1] & 0x3fu); \
else if ((c & 0x10u) == 0) \
c = ((c & 0x0fu) << 12) | ((eptr[1] & 0x3fu) << 6) | (eptr[2] & 0x3fu); \
else if ((c & 0x08u) == 0) \
c = ((c & 0x07u) << 18) | ((eptr[1] & 0x3fu) << 12) | \
((eptr[2] & 0x3fu) << 6) | (eptr[3] & 0x3fu); \
else if ((c & 0x04u) == 0) \
c = ((c & 0x03u) << 24) | ((eptr[1] & 0x3fu) << 18) | \
((eptr[2] & 0x3fu) << 12) | ((eptr[3] & 0x3fu) << 6) | \
(eptr[4] & 0x3fu); \
else \
c = ((c & 0x01u) << 30) | ((eptr[1] & 0x3fu) << 24) | \
((eptr[2] & 0x3fu) << 18) | ((eptr[3] & 0x3fu) << 12) | \
((eptr[4] & 0x3fu) << 6) | (eptr[5] & 0x3fu); \
}
small capitals from c petite p scientific f u
Definition: afcover.h:88
const GLubyte * c
Definition: qopenglext.h:12701

Definition at line 266 of file pcre2_internal.h.

◆ GETUTF8INC

#define GETUTF8INC (   c,
  eptr 
)
Value:
{ \
if ((c & 0x20u) == 0) \
c = ((c & 0x1fu) << 6) | (*eptr++ & 0x3fu); \
else if ((c & 0x10u) == 0) \
{ \
c = ((c & 0x0fu) << 12) | ((*eptr & 0x3fu) << 6) | (eptr[1] & 0x3fu); \
eptr += 2; \
} \
else if ((c & 0x08u) == 0) \
{ \
c = ((c & 0x07u) << 18) | ((*eptr & 0x3fu) << 12) | \
((eptr[1] & 0x3fu) << 6) | (eptr[2] & 0x3fu); \
eptr += 3; \
} \
else if ((c & 0x04u) == 0) \
{ \
c = ((c & 0x03u) << 24) | ((*eptr & 0x3fu) << 18) | \
((eptr[1] & 0x3fu) << 12) | ((eptr[2] & 0x3fu) << 6) | \
(eptr[3] & 0x3fu); \
eptr += 4; \
} \
else \
{ \
c = ((c & 0x01u) << 30) | ((*eptr & 0x3fu) << 24) | \
((eptr[1] & 0x3fu) << 18) | ((eptr[2] & 0x3fu) << 12) | \
((eptr[3] & 0x3fu) << 6) | (eptr[4] & 0x3fu); \
eptr += 5; \
} \
}

Definition at line 288 of file pcre2_internal.h.

◆ GETUTF8LEN

#define GETUTF8LEN (   c,
  eptr,
  len 
)

Definition at line 322 of file pcre2_internal.h.

◆ HASUTF8EXTRALEN

#define HASUTF8EXTRALEN (   c)    ((c) >= 0xc0)

Definition at line 255 of file pcre2_internal.h.

◆ HSPACE_BYTE_CASES

#define HSPACE_BYTE_CASES
Value:
case CHAR_HT: \
case CHAR_SPACE: \
case CHAR_NBSP
#define CHAR_NBSP
#define CHAR_HT
#define CHAR_SPACE

Definition at line 407 of file pcre2_internal.h.

◆ HSPACE_CASES

#define HSPACE_CASES
Value:
HSPACE_MULTIBYTE_CASES
#define HSPACE_BYTE_CASES

Definition at line 412 of file pcre2_internal.h.

◆ HSPACE_LIST

#define HSPACE_LIST
Value:
0x1680, 0x180e, 0x2000, 0x2001, 0x2002, 0x2003, 0x2004, 0x2005, \
0x2006, 0x2007, 0x2008, 0x2009, 0x200A, 0x202f, 0x205f, 0x3000, \
NOTACHAR

Definition at line 383 of file pcre2_internal.h.

◆ HSPACE_MULTIBYTE_CASES

#define HSPACE_MULTIBYTE_CASES
Value:
case 0x1680: /* OGHAM SPACE MARK */ \
case 0x180e: /* MONGOLIAN VOWEL SEPARATOR */ \
case 0x2000: /* EN QUAD */ \
case 0x2001: /* EM QUAD */ \
case 0x2002: /* EN SPACE */ \
case 0x2003: /* EM SPACE */ \
case 0x2004: /* THREE-PER-EM SPACE */ \
case 0x2005: /* FOUR-PER-EM SPACE */ \
case 0x2006: /* SIX-PER-EM SPACE */ \
case 0x2007: /* FIGURE SPACE */ \
case 0x2008: /* PUNCTUATION SPACE */ \
case 0x2009: /* THIN SPACE */ \
case 0x200A: /* HAIR SPACE */ \
case 0x202f: /* NARROW NO-BREAK SPACE */ \
case 0x205f: /* MEDIUM MATHEMATICAL SPACE */ \
case 0x3000 /* IDEOGRAPHIC SPACE */

Definition at line 389 of file pcre2_internal.h.

◆ INT64_OR_DOUBLE

#define INT64_OR_DOUBLE   double

Definition at line 167 of file pcre2_internal.h.

◆ IS_NEWLINE

#define IS_NEWLINE (   p)
Value:
((NLBLOCK->nltype != NLTYPE_FIXED)? \
((p) < NLBLOCK->PSEND && \
PRIV(is_newline)((p), NLBLOCK->nltype, NLBLOCK->PSEND, \
&(NLBLOCK->nllen), utf)) \
: \
((p) <= NLBLOCK->PSEND - NLBLOCK->nllen && \
UCHAR21TEST(p) == NLBLOCK->nl[0] && \
(NLBLOCK->nllen == 1 || UCHAR21TEST(p+1) == NLBLOCK->nl[1]) \
) \
)
#define NLBLOCK
Definition: pcre2_compile.c:46
#define NLTYPE_FIXED
#define UCHAR21TEST(eptr)
BOOL PRIV() is_newline(PCRE2_SPTR ptr, uint32_t type, PCRE2_SPTR endptr, uint32_t *lenptr, BOOL utf)
Definition: pcre2_newline.c:79
GLfloat GLfloat p
[1]
Definition: qopenglext.h:12698

Definition at line 479 of file pcre2_internal.h.

◆ LAST_AUTOTAB_LEFT_OP

#define LAST_AUTOTAB_LEFT_OP   OP_EXTUNI

Definition at line 1365 of file pcre2_internal.h.

◆ LAST_AUTOTAB_RIGHT_OP

#define LAST_AUTOTAB_RIGHT_OP   OP_DOLLM

Definition at line 1366 of file pcre2_internal.h.

◆ lcc_offset

#define lcc_offset   0 /* Lower case */

Definition at line 589 of file pcre2_internal.h.

◆ MAGIC_NUMBER

#define MAGIC_NUMBER   0x50435245UL /* 'PCRE' */

Definition at line 547 of file pcre2_internal.h.

◆ MAPBIT

#define MAPBIT (   map,
  n 
)    ((map)[(n)/32]&(1u<<((n)%32)))

Definition at line 1865 of file pcre2_internal.h.

◆ MAPSET

#define MAPSET (   map,
  n 
)    ((map)[(n)/32]|=(1u<<((n)%32)))

Definition at line 1866 of file pcre2_internal.h.

◆ MAX_UTF_CODE_POINT

#define MAX_UTF_CODE_POINT   0x10ffff

Definition at line 209 of file pcre2_internal.h.

◆ memmove

#define memmove (   a,
  b,
  c 
)    PRIV(memmove)(a, b, c)

Definition at line 198 of file pcre2_internal.h.

◆ NLTYPE_ANY

#define NLTYPE_ANY   1 /* Newline is any Unicode line ending */

Definition at line 474 of file pcre2_internal.h.

◆ NLTYPE_ANYCRLF

#define NLTYPE_ANYCRLF   2 /* Newline is CR, LF, or CRLF */

Definition at line 475 of file pcre2_internal.h.

◆ NLTYPE_FIXED

#define NLTYPE_FIXED   0 /* Newline is a fixed length string */

Definition at line 473 of file pcre2_internal.h.

◆ NOTACHAR

#define NOTACHAR   0xffffffff

Definition at line 205 of file pcre2_internal.h.

◆ OP_LENGTHS

#define OP_LENGTHS

Definition at line 1695 of file pcre2_internal.h.

◆ OP_NAME_LIST

#define OP_NAME_LIST

Definition at line 1643 of file pcre2_internal.h.

◆ PCRE2_BSR_SET

#define PCRE2_BSR_SET   0x00004000 /* BSR was set in the pattern */

Definition at line 522 of file pcre2_internal.h.

◆ PCRE2_DEREF_TABLES

#define PCRE2_DEREF_TABLES   0x00040000 /* release character tables */

Definition at line 526 of file pcre2_internal.h.

◆ PCRE2_DUPCAPUSED

#define PCRE2_DUPCAPUSED   0x00200000 /* contains (?| */

Definition at line 529 of file pcre2_internal.h.

◆ PCRE2_EXP_DECL

#define PCRE2_EXP_DECL   extern

Definition at line 132 of file pcre2_internal.h.

◆ PCRE2_EXP_DEFN

#define PCRE2_EXP_DEFN   PCRE2_EXP_DECL

Definition at line 135 of file pcre2_internal.h.

◆ PCRE2_FIRSTCASELESS

#define PCRE2_FIRSTCASELESS   0x00000020 /* caseless first code unit */

Definition at line 513 of file pcre2_internal.h.

◆ PCRE2_FIRSTMAPSET

#define PCRE2_FIRSTMAPSET   0x00000040 /* bitmap of first code units is set */

Definition at line 514 of file pcre2_internal.h.

◆ PCRE2_FIRSTSET

#define PCRE2_FIRSTSET   0x00000010 /* first_code unit is set */

Definition at line 512 of file pcre2_internal.h.

◆ PCRE2_HASACCEPT

#define PCRE2_HASACCEPT   0x00800000 /* contains (*ACCEPT) */

Definition at line 531 of file pcre2_internal.h.

◆ PCRE2_HASBKC

#define PCRE2_HASBKC   0x00400000 /* contains \C */

Definition at line 530 of file pcre2_internal.h.

◆ PCRE2_HASBKPORX

#define PCRE2_HASBKPORX   0x00100000 /* contains \P, \p, or \X */

Definition at line 528 of file pcre2_internal.h.

◆ PCRE2_HASCRORLF

#define PCRE2_HASCRORLF   0x00000800 /* explicit \r or \n in pattern */

Definition at line 519 of file pcre2_internal.h.

◆ PCRE2_HASTHEN

#define PCRE2_HASTHEN   0x00001000 /* pattern contains (*THEN) */

Definition at line 520 of file pcre2_internal.h.

◆ PCRE2_JCHANGED

#define PCRE2_JCHANGED   0x00000400 /* j option used in pattern */

Definition at line 518 of file pcre2_internal.h.

◆ PCRE2_KEEP_UNINITIALIZED

#define PCRE2_KEEP_UNINITIALIZED

Definition at line 87 of file pcre2_internal.h.

◆ PCRE2_LASTCASELESS

#define PCRE2_LASTCASELESS   0x00000100 /* caseless last code unit */

Definition at line 516 of file pcre2_internal.h.

◆ PCRE2_LASTSET

#define PCRE2_LASTSET   0x00000080 /* last code unit is set */

Definition at line 515 of file pcre2_internal.h.

◆ PCRE2_MATCH_EMPTY

#define PCRE2_MATCH_EMPTY   0x00002000 /* pattern can match empty string */

Definition at line 521 of file pcre2_internal.h.

◆ PCRE2_MD_COPIED_SUBJECT

#define PCRE2_MD_COPIED_SUBJECT   0x01u

Definition at line 543 of file pcre2_internal.h.

◆ PCRE2_MODE16

#define PCRE2_MODE16   0x00000002 /* compiled in 16 bit mode */

Definition at line 510 of file pcre2_internal.h.

◆ PCRE2_MODE32

#define PCRE2_MODE32   0x00000004 /* compiled in 32 bit mode */

Definition at line 511 of file pcre2_internal.h.

◆ PCRE2_MODE8

#define PCRE2_MODE8   0x00000001 /* compiled in 8 bit mode */

Definition at line 509 of file pcre2_internal.h.

◆ PCRE2_MODE_MASK

#define PCRE2_MODE_MASK   (PCRE2_MODE8 | PCRE2_MODE16 | PCRE2_MODE32)

Definition at line 533 of file pcre2_internal.h.

◆ PCRE2_NE_ATST_SET

#define PCRE2_NE_ATST_SET   0x00020000 /* (*NOTEMPTY_ATSTART) used) together */

Definition at line 525 of file pcre2_internal.h.

◆ PCRE2_NL_SET

#define PCRE2_NL_SET   0x00008000 /* newline was set in the pattern */

Definition at line 523 of file pcre2_internal.h.

◆ PCRE2_NOJIT

#define PCRE2_NOJIT   0x00080000 /* (*NOJIT) used */

Definition at line 527 of file pcre2_internal.h.

◆ PCRE2_NOTEMPTY_SET

#define PCRE2_NOTEMPTY_SET   0x00010000 /* (*NOTEMPTY) used ) keep */

Definition at line 524 of file pcre2_internal.h.

◆ PCRE2_STARTLINE

#define PCRE2_STARTLINE   0x00000200 /* start after \n for multiline */

Definition at line 517 of file pcre2_internal.h.

◆ PRIV

#define PRIV (   name)    _pcre2_##name

Definition at line 177 of file pcre2_internal.h.

◆ PT_ALNUM

#define PT_ALNUM   6 /* Alphanumeric - the union of L and N */

Definition at line 1282 of file pcre2_internal.h.

◆ PT_ANY

#define PT_ANY   0 /* Any property - matches all chars */

Definition at line 1276 of file pcre2_internal.h.

◆ PT_BIDICL

#define PT_BIDICL   12 /* Specified bidi class */

Definition at line 1288 of file pcre2_internal.h.

◆ PT_BOOL

#define PT_BOOL   13 /* Boolean property */

Definition at line 1289 of file pcre2_internal.h.

◆ PT_CLIST

#define PT_CLIST   10 /* Pseudo-property: match character list */

Definition at line 1286 of file pcre2_internal.h.

◆ PT_GC

#define PT_GC   2 /* Specified general characteristic (e.g. L) */

Definition at line 1278 of file pcre2_internal.h.

◆ PT_LAMP

#define PT_LAMP   1 /* L& - the union of Lu, Ll, Lt */

Definition at line 1277 of file pcre2_internal.h.

◆ PT_NOTSCRIPT

#define PT_NOTSCRIPT   255

Definition at line 1305 of file pcre2_internal.h.

◆ PT_PC

#define PT_PC   3 /* Specified particular characteristic (e.g. Lu) */

Definition at line 1279 of file pcre2_internal.h.

◆ PT_PXGRAPH

#define PT_PXGRAPH   14 /* [:graph:] - characters that mark the paper */

Definition at line 1298 of file pcre2_internal.h.

◆ PT_PXPRINT

#define PT_PXPRINT   15 /* [:print:] - [:graph:] plus non-control spaces */

Definition at line 1299 of file pcre2_internal.h.

◆ PT_PXPUNCT

#define PT_PXPUNCT   16 /* [:punct:] - punctuation characters */

Definition at line 1300 of file pcre2_internal.h.

◆ PT_PXSPACE

#define PT_PXSPACE   8 /* POSIX space - Z plus 9,10,11,12,13 */

Definition at line 1284 of file pcre2_internal.h.

◆ PT_SC

#define PT_SC   4 /* Script only (e.g. Han) */

Definition at line 1280 of file pcre2_internal.h.

◆ PT_SCX

#define PT_SCX   5 /* Script extensions (includes SC) */

Definition at line 1281 of file pcre2_internal.h.

◆ PT_SPACE

#define PT_SPACE   7 /* Perl space - general category Z plus 9,10,12,13 */

Definition at line 1283 of file pcre2_internal.h.

◆ PT_TABSIZE

#define PT_TABSIZE   14 /* Size of square table for autopossessify tests */

Definition at line 1290 of file pcre2_internal.h.

◆ PT_UCNC

#define PT_UCNC   11 /* Universal Character nameable character */

Definition at line 1287 of file pcre2_internal.h.

◆ PT_WORD

#define PT_WORD   9 /* Word - L plus N plus underscore */

Definition at line 1285 of file pcre2_internal.h.

◆ REAL_GET_UCD

#define REAL_GET_UCD (   ch)
Value:
(PRIV(ucd_records) + \
PRIV(ucd_stage2)[PRIV(ucd_stage1)[(int)(ch) / UCD_BLOCK_SIZE] * \
UCD_BLOCK_SIZE + (int)(ch) % UCD_BLOCK_SIZE])
#define UCD_BLOCK_SIZE
#define PRIV(name)

Definition at line 1832 of file pcre2_internal.h.

◆ REQ_CU_MAX

#define REQ_CU_MAX   2000

Definition at line 557 of file pcre2_internal.h.

◆ RREF_ANY

#define RREF_ANY   0xffff

Definition at line 1783 of file pcre2_internal.h.

◆ START_FRAMES_SIZE

#define START_FRAMES_SIZE   20480

Definition at line 231 of file pcre2_internal.h.

◆ STR_0

#define STR_0   "0"

Definition at line 805 of file pcre2_internal.h.

◆ STR_1

#define STR_1   "1"

Definition at line 806 of file pcre2_internal.h.

◆ STR_2

#define STR_2   "2"

Definition at line 807 of file pcre2_internal.h.

◆ STR_3

#define STR_3   "3"

Definition at line 808 of file pcre2_internal.h.

◆ STR_4

#define STR_4   "4"

Definition at line 809 of file pcre2_internal.h.

◆ STR_5

#define STR_5   "5"

Definition at line 810 of file pcre2_internal.h.

◆ STR_6

#define STR_6   "6"

Definition at line 811 of file pcre2_internal.h.

◆ STR_7

#define STR_7   "7"

Definition at line 812 of file pcre2_internal.h.

◆ STR_8

#define STR_8   "8"

Definition at line 813 of file pcre2_internal.h.

◆ STR_9

#define STR_9   "9"

Definition at line 814 of file pcre2_internal.h.

◆ STR_A

#define STR_A   "A"

Definition at line 822 of file pcre2_internal.h.

◆ STR_a

#define STR_a   "a"

Definition at line 854 of file pcre2_internal.h.

◆ STR_AMPERSAND

#define STR_AMPERSAND   "&"

Definition at line 795 of file pcre2_internal.h.

◆ STR_APOSTROPHE

#define STR_APOSTROPHE   "'"

Definition at line 796 of file pcre2_internal.h.

◆ STR_ASTERISK

#define STR_ASTERISK   "*"

Definition at line 799 of file pcre2_internal.h.

◆ STR_B

#define STR_B   "B"

Definition at line 823 of file pcre2_internal.h.

◆ STR_b

#define STR_b   "b"

Definition at line 855 of file pcre2_internal.h.

◆ STR_BACKSLASH

#define STR_BACKSLASH   "\\"

Definition at line 849 of file pcre2_internal.h.

◆ STR_BEL

#define STR_BEL   "\a"

Definition at line 787 of file pcre2_internal.h.

◆ STR_BS

#define STR_BS   "\b"

Definition at line 786 of file pcre2_internal.h.

◆ STR_C

#define STR_C   "C"

Definition at line 824 of file pcre2_internal.h.

◆ STR_c

#define STR_c   "c"

Definition at line 856 of file pcre2_internal.h.

◆ STR_CIRCUMFLEX_ACCENT

#define STR_CIRCUMFLEX_ACCENT   "^"

Definition at line 851 of file pcre2_internal.h.

◆ STR_COLON

#define STR_COLON   ":"

Definition at line 815 of file pcre2_internal.h.

◆ STR_COMMA

#define STR_COMMA   ","

Definition at line 801 of file pcre2_internal.h.

◆ STR_COMMERCIAL_AT

#define STR_COMMERCIAL_AT   "@"

Definition at line 821 of file pcre2_internal.h.

◆ STR_CR

#define STR_CR   "\r"

Definition at line 785 of file pcre2_internal.h.

◆ STR_D

#define STR_D   "D"

Definition at line 825 of file pcre2_internal.h.

◆ STR_d

#define STR_d   "d"

Definition at line 857 of file pcre2_internal.h.

◆ STR_DEL

#define STR_DEL   "\177"

Definition at line 672 of file pcre2_internal.h.

◆ STR_DOLLAR_SIGN

#define STR_DOLLAR_SIGN   "$"

Definition at line 793 of file pcre2_internal.h.

◆ STR_DOT

#define STR_DOT   "."

Definition at line 803 of file pcre2_internal.h.

◆ STR_E

#define STR_E   "E"

Definition at line 826 of file pcre2_internal.h.

◆ STR_e

#define STR_e   "e"

Definition at line 858 of file pcre2_internal.h.

◆ STR_EQUALS_SIGN

#define STR_EQUALS_SIGN   "="

Definition at line 818 of file pcre2_internal.h.

◆ STR_ESC

#define STR_ESC   "\033"

Definition at line 671 of file pcre2_internal.h.

◆ STR_EXCLAMATION_MARK

#define STR_EXCLAMATION_MARK   "!"

Definition at line 790 of file pcre2_internal.h.

◆ STR_F

#define STR_F   "F"

Definition at line 827 of file pcre2_internal.h.

◆ STR_f

#define STR_f   "f"

Definition at line 859 of file pcre2_internal.h.

◆ STR_FF

#define STR_FF   "\f"

Definition at line 784 of file pcre2_internal.h.

◆ STR_G

#define STR_G   "G"

Definition at line 828 of file pcre2_internal.h.

◆ STR_g

#define STR_g   "g"

Definition at line 860 of file pcre2_internal.h.

◆ STR_GRAVE_ACCENT

#define STR_GRAVE_ACCENT   "`"

Definition at line 853 of file pcre2_internal.h.

◆ STR_GREATER_THAN_SIGN

#define STR_GREATER_THAN_SIGN   ">"

Definition at line 819 of file pcre2_internal.h.

◆ STR_H

#define STR_H   "H"

Definition at line 829 of file pcre2_internal.h.

◆ STR_h

#define STR_h   "h"

Definition at line 861 of file pcre2_internal.h.

◆ STR_HT

#define STR_HT   "\t"

Definition at line 782 of file pcre2_internal.h.

◆ STR_I

#define STR_I   "I"

Definition at line 830 of file pcre2_internal.h.

◆ STR_i

#define STR_i   "i"

Definition at line 862 of file pcre2_internal.h.

◆ STR_J

#define STR_J   "J"

Definition at line 831 of file pcre2_internal.h.

◆ STR_j

#define STR_j   "j"

Definition at line 863 of file pcre2_internal.h.

◆ STR_K

#define STR_K   "K"

Definition at line 832 of file pcre2_internal.h.

◆ STR_k

#define STR_k   "k"

Definition at line 864 of file pcre2_internal.h.

◆ STR_L

#define STR_L   "L"

Definition at line 833 of file pcre2_internal.h.

◆ STR_l

#define STR_l   "l"

Definition at line 865 of file pcre2_internal.h.

◆ STR_LEFT_CURLY_BRACKET

#define STR_LEFT_CURLY_BRACKET   "{"

Definition at line 880 of file pcre2_internal.h.

◆ STR_LEFT_PARENTHESIS

#define STR_LEFT_PARENTHESIS   "("

Definition at line 797 of file pcre2_internal.h.

◆ STR_LEFT_SQUARE_BRACKET

#define STR_LEFT_SQUARE_BRACKET   "["

Definition at line 848 of file pcre2_internal.h.

◆ STR_LESS_THAN_SIGN

#define STR_LESS_THAN_SIGN   "<"

Definition at line 817 of file pcre2_internal.h.

◆ STR_LF

#define STR_LF   "\n"

Definition at line 668 of file pcre2_internal.h.

◆ STR_M

#define STR_M   "M"

Definition at line 834 of file pcre2_internal.h.

◆ STR_m

#define STR_m   "m"

Definition at line 866 of file pcre2_internal.h.

◆ STR_MINUS

#define STR_MINUS   "-"

Definition at line 802 of file pcre2_internal.h.

◆ STR_N

#define STR_N   "N"

Definition at line 835 of file pcre2_internal.h.

◆ STR_n

#define STR_n   "n"

Definition at line 867 of file pcre2_internal.h.

◆ STR_NEL

#define STR_NEL   "\x85"

Definition at line 670 of file pcre2_internal.h.

◆ STR_NL

#define STR_NL   STR_LF

Definition at line 669 of file pcre2_internal.h.

◆ STR_NUMBER_SIGN

#define STR_NUMBER_SIGN   "#"

Definition at line 792 of file pcre2_internal.h.

◆ STR_O

#define STR_O   "O"

Definition at line 836 of file pcre2_internal.h.

◆ STR_o

#define STR_o   "o"

Definition at line 868 of file pcre2_internal.h.

◆ STR_P

#define STR_P   "P"

Definition at line 837 of file pcre2_internal.h.

◆ STR_p

#define STR_p   "p"

Definition at line 869 of file pcre2_internal.h.

◆ STR_PERCENT_SIGN

#define STR_PERCENT_SIGN   "%"

Definition at line 794 of file pcre2_internal.h.

◆ STR_PLUS

#define STR_PLUS   "+"

Definition at line 800 of file pcre2_internal.h.

◆ STR_Q

#define STR_Q   "Q"

Definition at line 838 of file pcre2_internal.h.

◆ STR_q

#define STR_q   "q"

Definition at line 870 of file pcre2_internal.h.

◆ STR_QUESTION_MARK

#define STR_QUESTION_MARK   "?"

Definition at line 820 of file pcre2_internal.h.

◆ STR_QUOTATION_MARK

#define STR_QUOTATION_MARK   "\""

Definition at line 791 of file pcre2_internal.h.

◆ STR_R

#define STR_R   "R"

Definition at line 839 of file pcre2_internal.h.

◆ STR_r

#define STR_r   "r"

Definition at line 871 of file pcre2_internal.h.

◆ STR_RIGHT_CURLY_BRACKET

#define STR_RIGHT_CURLY_BRACKET   "}"

Definition at line 882 of file pcre2_internal.h.

◆ STR_RIGHT_PARENTHESIS

#define STR_RIGHT_PARENTHESIS   ")"

Definition at line 798 of file pcre2_internal.h.

◆ STR_RIGHT_SQUARE_BRACKET

#define STR_RIGHT_SQUARE_BRACKET   "]"

Definition at line 850 of file pcre2_internal.h.

◆ STR_S

#define STR_S   "S"

Definition at line 840 of file pcre2_internal.h.

◆ STR_s

#define STR_s   "s"

Definition at line 872 of file pcre2_internal.h.

◆ STR_SEMICOLON

#define STR_SEMICOLON   ";"

Definition at line 816 of file pcre2_internal.h.

◆ STR_SLASH

#define STR_SLASH   "/"

Definition at line 804 of file pcre2_internal.h.

◆ STR_SPACE

#define STR_SPACE   " "

Definition at line 789 of file pcre2_internal.h.

◆ STR_T

#define STR_T   "T"

Definition at line 841 of file pcre2_internal.h.

◆ STR_t

#define STR_t   "t"

Definition at line 873 of file pcre2_internal.h.

◆ STR_TILDE

#define STR_TILDE   "~"

Definition at line 883 of file pcre2_internal.h.

◆ STR_U

#define STR_U   "U"

Definition at line 842 of file pcre2_internal.h.

◆ STR_u

#define STR_u   "u"

Definition at line 874 of file pcre2_internal.h.

◆ STR_UNDERSCORE

#define STR_UNDERSCORE   "_"

Definition at line 852 of file pcre2_internal.h.

◆ STR_V

#define STR_V   "V"

Definition at line 843 of file pcre2_internal.h.

◆ STR_v

#define STR_v   "v"

Definition at line 875 of file pcre2_internal.h.

◆ STR_VERTICAL_LINE

#define STR_VERTICAL_LINE   "|"

Definition at line 881 of file pcre2_internal.h.

◆ STR_VT

#define STR_VT   "\v"

Definition at line 783 of file pcre2_internal.h.

◆ STR_W

#define STR_W   "W"

Definition at line 844 of file pcre2_internal.h.

◆ STR_w

#define STR_w   "w"

Definition at line 876 of file pcre2_internal.h.

◆ STR_X

#define STR_X   "X"

Definition at line 845 of file pcre2_internal.h.

◆ STR_x

#define STR_x   "x"

Definition at line 877 of file pcre2_internal.h.

◆ STR_Y

#define STR_Y   "Y"

Definition at line 846 of file pcre2_internal.h.

◆ STR_y

#define STR_y   "y"

Definition at line 878 of file pcre2_internal.h.

◆ STR_Z

#define STR_Z   "Z"

Definition at line 847 of file pcre2_internal.h.

◆ STR_z

#define STR_z   "z"

Definition at line 879 of file pcre2_internal.h.

◆ STRING_ACCEPT0

#define STRING_ACCEPT0   "ACCEPT\0"

Definition at line 885 of file pcre2_internal.h.

◆ STRING_alnum0

#define STRING_alnum0   "alnum\0"

Definition at line 915 of file pcre2_internal.h.

◆ STRING_alpha0

#define STRING_alpha0   "alpha\0"

Definition at line 912 of file pcre2_internal.h.

◆ STRING_ANY_RIGHTPAR

#define STRING_ANY_RIGHTPAR   "ANY)"

Definition at line 935 of file pcre2_internal.h.

◆ STRING_ANYCRLF_RIGHTPAR

#define STRING_ANYCRLF_RIGHTPAR   "ANYCRLF)"

Definition at line 936 of file pcre2_internal.h.

◆ STRING_ascii0

#define STRING_ascii0   "ascii\0"

Definition at line 916 of file pcre2_internal.h.

◆ STRING_asr0

#define STRING_asr0   "asr\0"

Definition at line 902 of file pcre2_internal.h.

◆ STRING_atomic0

#define STRING_atomic0   "atomic\0"

Definition at line 894 of file pcre2_internal.h.

◆ STRING_atomic_script_run

#define STRING_atomic_script_run   "atomic_script_run"

Definition at line 910 of file pcre2_internal.h.

◆ STRING_bc

#define STRING_bc   "bc"

Definition at line 957 of file pcre2_internal.h.

◆ STRING_bidiclass

#define STRING_bidiclass   "bidiclass"

Definition at line 958 of file pcre2_internal.h.

◆ STRING_blank0

#define STRING_blank0   "blank\0"

Definition at line 917 of file pcre2_internal.h.

◆ STRING_BSR_ANYCRLF_RIGHTPAR

#define STRING_BSR_ANYCRLF_RIGHTPAR   "BSR_ANYCRLF)"

Definition at line 938 of file pcre2_internal.h.

◆ STRING_BSR_UNICODE_RIGHTPAR

#define STRING_BSR_UNICODE_RIGHTPAR   "BSR_UNICODE)"

Definition at line 939 of file pcre2_internal.h.

◆ STRING_cntrl0

#define STRING_cntrl0   "cntrl\0"

Definition at line 918 of file pcre2_internal.h.

◆ STRING_COMMIT0

#define STRING_COMMIT0   "COMMIT\0"

Definition at line 886 of file pcre2_internal.h.

◆ STRING_CR_RIGHTPAR

#define STRING_CR_RIGHTPAR   "CR)"

Definition at line 932 of file pcre2_internal.h.

◆ STRING_CRLF_RIGHTPAR

#define STRING_CRLF_RIGHTPAR   "CRLF)"

Definition at line 934 of file pcre2_internal.h.

◆ STRING_DEFINE

#define STRING_DEFINE   "DEFINE"

Definition at line 927 of file pcre2_internal.h.

◆ STRING_digit0

#define STRING_digit0   "digit\0"

Definition at line 919 of file pcre2_internal.h.

◆ STRING_F0

#define STRING_F0   "F\0"

Definition at line 887 of file pcre2_internal.h.

◆ STRING_FAIL0

#define STRING_FAIL0   "FAIL\0"

Definition at line 888 of file pcre2_internal.h.

◆ STRING_graph0

#define STRING_graph0   "graph\0"

Definition at line 920 of file pcre2_internal.h.

◆ STRING_LF_RIGHTPAR

#define STRING_LF_RIGHTPAR   "LF)"

Definition at line 933 of file pcre2_internal.h.

◆ STRING_LIMIT_DEPTH_EQ

#define STRING_LIMIT_DEPTH_EQ   "LIMIT_DEPTH="

Definition at line 953 of file pcre2_internal.h.

◆ STRING_LIMIT_HEAP_EQ

#define STRING_LIMIT_HEAP_EQ   "LIMIT_HEAP="

Definition at line 951 of file pcre2_internal.h.

◆ STRING_LIMIT_MATCH_EQ

#define STRING_LIMIT_MATCH_EQ   "LIMIT_MATCH="

Definition at line 952 of file pcre2_internal.h.

◆ STRING_LIMIT_RECURSION_EQ

#define STRING_LIMIT_RECURSION_EQ   "LIMIT_RECURSION="

Definition at line 954 of file pcre2_internal.h.

◆ STRING_lower0

#define STRING_lower0   "lower\0"

Definition at line 913 of file pcre2_internal.h.

◆ STRING_MARK

#define STRING_MARK   "MARK"

Definition at line 955 of file pcre2_internal.h.

◆ STRING_MARK0

#define STRING_MARK0   "MARK\0"

Definition at line 889 of file pcre2_internal.h.

◆ STRING_napla0

#define STRING_napla0   "napla\0"

Definition at line 897 of file pcre2_internal.h.

◆ STRING_naplb0

#define STRING_naplb0   "naplb\0"

Definition at line 898 of file pcre2_internal.h.

◆ STRING_negative_lookahead0

#define STRING_negative_lookahead0   "negative_lookahead\0"

Definition at line 907 of file pcre2_internal.h.

◆ STRING_negative_lookbehind0

#define STRING_negative_lookbehind0   "negative_lookbehind\0"

Definition at line 908 of file pcre2_internal.h.

◆ STRING_nla0

#define STRING_nla0   "nla\0"

Definition at line 899 of file pcre2_internal.h.

◆ STRING_nlb0

#define STRING_nlb0   "nlb\0"

Definition at line 900 of file pcre2_internal.h.

◆ STRING_NO_AUTO_POSSESS_RIGHTPAR

#define STRING_NO_AUTO_POSSESS_RIGHTPAR   "NO_AUTO_POSSESS)"

Definition at line 945 of file pcre2_internal.h.

◆ STRING_NO_DOTSTAR_ANCHOR_RIGHTPAR

#define STRING_NO_DOTSTAR_ANCHOR_RIGHTPAR   "NO_DOTSTAR_ANCHOR)"

Definition at line 946 of file pcre2_internal.h.

◆ STRING_NO_JIT_RIGHTPAR

#define STRING_NO_JIT_RIGHTPAR   "NO_JIT)"

Definition at line 947 of file pcre2_internal.h.

◆ STRING_NO_START_OPT_RIGHTPAR

#define STRING_NO_START_OPT_RIGHTPAR   "NO_START_OPT)"

Definition at line 948 of file pcre2_internal.h.

◆ STRING_non_atomic_positive_lookahead0

#define STRING_non_atomic_positive_lookahead0   "non_atomic_positive_lookahead\0"

Definition at line 905 of file pcre2_internal.h.

◆ STRING_non_atomic_positive_lookbehind0

#define STRING_non_atomic_positive_lookbehind0   "non_atomic_positive_lookbehind\0"

Definition at line 906 of file pcre2_internal.h.

◆ STRING_NOTEMPTY_ATSTART_RIGHTPAR

#define STRING_NOTEMPTY_ATSTART_RIGHTPAR   "NOTEMPTY_ATSTART)"

Definition at line 950 of file pcre2_internal.h.

◆ STRING_NOTEMPTY_RIGHTPAR

#define STRING_NOTEMPTY_RIGHTPAR   "NOTEMPTY)"

Definition at line 949 of file pcre2_internal.h.

◆ STRING_NUL_RIGHTPAR

#define STRING_NUL_RIGHTPAR   "NUL)"

Definition at line 937 of file pcre2_internal.h.

◆ STRING_pla0

#define STRING_pla0   "pla\0"

Definition at line 895 of file pcre2_internal.h.

◆ STRING_plb0

#define STRING_plb0   "plb\0"

Definition at line 896 of file pcre2_internal.h.

◆ STRING_positive_lookahead0

#define STRING_positive_lookahead0   "positive_lookahead\0"

Definition at line 903 of file pcre2_internal.h.

◆ STRING_positive_lookbehind0

#define STRING_positive_lookbehind0   "positive_lookbehind\0"

Definition at line 904 of file pcre2_internal.h.

◆ STRING_print0

#define STRING_print0   "print\0"

Definition at line 921 of file pcre2_internal.h.

◆ STRING_PRUNE0

#define STRING_PRUNE0   "PRUNE\0"

Definition at line 890 of file pcre2_internal.h.

◆ STRING_punct0

#define STRING_punct0   "punct\0"

Definition at line 922 of file pcre2_internal.h.

◆ STRING_sc

#define STRING_sc   "sc"

Definition at line 959 of file pcre2_internal.h.

◆ STRING_script

#define STRING_script   "script"

Definition at line 960 of file pcre2_internal.h.

◆ STRING_script_run0

#define STRING_script_run0   "script_run\0"

Definition at line 909 of file pcre2_internal.h.

◆ STRING_scriptextensions

#define STRING_scriptextensions   "scriptextensions"

Definition at line 961 of file pcre2_internal.h.

◆ STRING_scx

#define STRING_scx   "scx"

Definition at line 962 of file pcre2_internal.h.

◆ STRING_SKIP0

#define STRING_SKIP0   "SKIP\0"

Definition at line 891 of file pcre2_internal.h.

◆ STRING_space0

#define STRING_space0   "space\0"

Definition at line 923 of file pcre2_internal.h.

◆ STRING_sr0

#define STRING_sr0   "sr\0"

Definition at line 901 of file pcre2_internal.h.

◆ STRING_THEN

#define STRING_THEN   "THEN"

Definition at line 892 of file pcre2_internal.h.

◆ STRING_UCP_RIGHTPAR

#define STRING_UCP_RIGHTPAR   "UCP)"

Definition at line 944 of file pcre2_internal.h.

◆ STRING_upper0

#define STRING_upper0   "upper\0"

Definition at line 914 of file pcre2_internal.h.

◆ STRING_UTF16_RIGHTPAR

#define STRING_UTF16_RIGHTPAR   "UTF16)"

Definition at line 941 of file pcre2_internal.h.

◆ STRING_UTF32_RIGHTPAR

#define STRING_UTF32_RIGHTPAR   "UTF32)"

Definition at line 942 of file pcre2_internal.h.

◆ STRING_UTF8_RIGHTPAR

#define STRING_UTF8_RIGHTPAR   "UTF8)"

Definition at line 940 of file pcre2_internal.h.

◆ STRING_UTF_RIGHTPAR

#define STRING_UTF_RIGHTPAR   "UTF)"

Definition at line 943 of file pcre2_internal.h.

◆ STRING_VERSION

#define STRING_VERSION   "VERSION"

Definition at line 928 of file pcre2_internal.h.

◆ STRING_WEIRD_ENDWORD

#define STRING_WEIRD_ENDWORD   "[:>:]]"

Definition at line 930 of file pcre2_internal.h.

◆ STRING_WEIRD_STARTWORD

#define STRING_WEIRD_STARTWORD   "[:<:]]"

Definition at line 929 of file pcre2_internal.h.

◆ STRING_word0

#define STRING_word0   "word\0"

Definition at line 924 of file pcre2_internal.h.

◆ STRING_xdigit

#define STRING_xdigit   "xdigit"

Definition at line 925 of file pcre2_internal.h.

◆ TABLES_LENGTH

#define TABLES_LENGTH   (ctypes_offset + 256)

Definition at line 593 of file pcre2_internal.h.

◆ TRUE

#define TRUE   1

Definition at line 70 of file pcre2_internal.h.

◆ UCD_BIDICLASS

#define UCD_BIDICLASS (   ch)    UCD_BIDICLASS_PROP(GET_UCD(ch))

Definition at line 1859 of file pcre2_internal.h.

◆ UCD_BIDICLASS_PROP

#define UCD_BIDICLASS_PROP (   prop)    ((prop)->scriptx_bidiclass >> UCD_BIDICLASS_SHIFT)

Definition at line 1848 of file pcre2_internal.h.

◆ UCD_BIDICLASS_SHIFT

#define UCD_BIDICLASS_SHIFT   11

Definition at line 1844 of file pcre2_internal.h.

◆ UCD_BLOCK_SIZE

#define UCD_BLOCK_SIZE   128

Definition at line 1831 of file pcre2_internal.h.

◆ UCD_BPROPS

#define UCD_BPROPS (   ch)    UCD_BPROPS_PROP(GET_UCD(ch))

Definition at line 1858 of file pcre2_internal.h.

◆ UCD_BPROPS_MASK

#define UCD_BPROPS_MASK   0xfff

Definition at line 1845 of file pcre2_internal.h.

◆ UCD_BPROPS_PROP

#define UCD_BPROPS_PROP (   prop)    ((prop)->bprops & UCD_BPROPS_MASK)

Definition at line 1849 of file pcre2_internal.h.

◆ UCD_CASESET

#define UCD_CASESET (   ch)    GET_UCD(ch)->caseset

Definition at line 1855 of file pcre2_internal.h.

◆ UCD_CATEGORY

#define UCD_CATEGORY (   ch)    PRIV(ucp_gentype)[UCD_CHARTYPE(ch)]

Definition at line 1853 of file pcre2_internal.h.

◆ UCD_CHARTYPE

#define UCD_CHARTYPE (   ch)    GET_UCD(ch)->chartype

Definition at line 1851 of file pcre2_internal.h.

◆ UCD_GRAPHBREAK

#define UCD_GRAPHBREAK (   ch)    GET_UCD(ch)->gbprop

Definition at line 1854 of file pcre2_internal.h.

◆ UCD_OTHERCASE

#define UCD_OTHERCASE (   ch)    ((uint32_t)((int)ch + (int)(GET_UCD(ch)->other_case)))

Definition at line 1856 of file pcre2_internal.h.

◆ UCD_SCRIPT

#define UCD_SCRIPT (   ch)    GET_UCD(ch)->script

Definition at line 1852 of file pcre2_internal.h.

◆ UCD_SCRIPTX

#define UCD_SCRIPTX (   ch)    UCD_SCRIPTX_PROP(GET_UCD(ch))

Definition at line 1857 of file pcre2_internal.h.

◆ UCD_SCRIPTX_MASK

#define UCD_SCRIPTX_MASK   0x3ff

Definition at line 1843 of file pcre2_internal.h.

◆ UCD_SCRIPTX_PROP

#define UCD_SCRIPTX_PROP (   prop)    ((prop)->scriptx_bidiclass & UCD_SCRIPTX_MASK)

Definition at line 1847 of file pcre2_internal.h.

◆ VSPACE_BYTE_CASES

#define VSPACE_BYTE_CASES
Value:
case CHAR_LF: \
case CHAR_VT: \
case CHAR_FF: \
case CHAR_CR: \
case CHAR_NEL
#define CHAR_CR
#define CHAR_NEL
#define CHAR_LF
#define CHAR_FF
#define CHAR_VT

Definition at line 423 of file pcre2_internal.h.

◆ VSPACE_CASES

#define VSPACE_CASES
Value:
VSPACE_MULTIBYTE_CASES
#define VSPACE_BYTE_CASES

Definition at line 430 of file pcre2_internal.h.

◆ VSPACE_LIST

#define VSPACE_LIST    CHAR_LF, CHAR_VT, CHAR_FF, CHAR_CR, CHAR_NEL, 0x2028, 0x2029, NOTACHAR

Definition at line 416 of file pcre2_internal.h.

◆ VSPACE_MULTIBYTE_CASES

#define VSPACE_MULTIBYTE_CASES
Value:
case 0x2028: /* LINE SEPARATOR */ \
case 0x2029 /* PARAGRAPH SEPARATOR */

Definition at line 419 of file pcre2_internal.h.

◆ WAS_NEWLINE

#define WAS_NEWLINE (   p)
Value:
((NLBLOCK->nltype != NLTYPE_FIXED)? \
((p) > NLBLOCK->PSSTART && \
PRIV(was_newline)((p), NLBLOCK->nltype, NLBLOCK->PSSTART, \
&(NLBLOCK->nllen), utf)) \
: \
((p) >= NLBLOCK->PSSTART + NLBLOCK->nllen && \
UCHAR21TEST(p - NLBLOCK->nllen) == NLBLOCK->nl[0] && \
(NLBLOCK->nllen == 1 || UCHAR21TEST(p - NLBLOCK->nllen + 1) == NLBLOCK->nl[1]) \
) \
)
BOOL PRIV() was_newline(PCRE2_SPTR ptr, uint32_t type, PCRE2_SPTR startptr, uint32_t *lenptr, BOOL utf)

Definition at line 493 of file pcre2_internal.h.

◆ XCL_END

#define XCL_END   0 /* Marks end of individual items */

Definition at line 1314 of file pcre2_internal.h.

◆ XCL_HASPROP

#define XCL_HASPROP   0x04 /* Flag: property checks are present. */

Definition at line 1312 of file pcre2_internal.h.

◆ XCL_MAP

#define XCL_MAP   0x02 /* Flag: a 32-byte map is present */

Definition at line 1311 of file pcre2_internal.h.

◆ XCL_NOT

#define XCL_NOT   0x01 /* Flag: this is a negative class */

Definition at line 1310 of file pcre2_internal.h.

◆ XCL_NOTPROP

#define XCL_NOTPROP   4 /* Unicode inverted property (ditto) */

Definition at line 1318 of file pcre2_internal.h.

◆ XCL_PROP

#define XCL_PROP   3 /* Unicode property (2-byte property code follows) */

Definition at line 1317 of file pcre2_internal.h.

◆ XCL_RANGE

#define XCL_RANGE   2 /* A range (two multibyte chars) follows */

Definition at line 1316 of file pcre2_internal.h.

◆ XCL_SINGLE

#define XCL_SINGLE   1 /* Single item (one multibyte char) follows */

Definition at line 1315 of file pcre2_internal.h.

Typedef Documentation

◆ BOOL

typedef int BOOL

Definition at line 67 of file pcre2_internal.h.

◆ open_capitem

typedef struct open_capitem open_capitem

◆ pcre2_memctl

typedef struct pcre2_memctl pcre2_memctl

◆ pcre2_serialized_data

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
PCRE2_MATCHEDBY_INTERPRETER 
PCRE2_MATCHEDBY_DFA_INTERPRETER 
PCRE2_MATCHEDBY_JIT 

Definition at line 537 of file pcre2_internal.h.

◆ anonymous enum

anonymous enum
Enumerator
ESC_A 
ESC_G 
ESC_K 
ESC_B 
ESC_b 
ESC_D 
ESC_d 
ESC_S 
ESC_s 
ESC_W 
ESC_w 
ESC_N 
ESC_dum 
ESC_C 
ESC_P 
ESC_p 
ESC_R 
ESC_H 
ESC_h 
ESC_V 
ESC_v 
ESC_X 
ESC_Z 
ESC_z 
ESC_E 
ESC_Q 
ESC_g 
ESC_k 

Definition at line 1337 of file pcre2_internal.h.

◆ anonymous enum

anonymous enum
Enumerator
OP_END 
OP_SOD 
OP_SOM 
OP_SET_SOM 
OP_NOT_WORD_BOUNDARY 
OP_WORD_BOUNDARY 
OP_NOT_DIGIT 
OP_DIGIT 
OP_NOT_WHITESPACE 
OP_WHITESPACE 
OP_NOT_WORDCHAR 
OP_WORDCHAR 
OP_ANY 
OP_ALLANY 
OP_ANYBYTE 
OP_NOTPROP 
OP_PROP 
OP_ANYNL 
OP_NOT_HSPACE 
OP_HSPACE 
OP_NOT_VSPACE 
OP_VSPACE 
OP_EXTUNI 
OP_EODN 
OP_EOD 
OP_DOLL 
OP_DOLLM 
OP_CIRC 
OP_CIRCM 
OP_CHAR 
OP_CHARI 
OP_NOT 
OP_NOTI 
OP_STAR 
OP_MINSTAR 
OP_PLUS 
OP_MINPLUS 
OP_QUERY 
OP_MINQUERY 
OP_UPTO 
OP_MINUPTO 
OP_EXACT 
OP_POSSTAR 
OP_POSPLUS 
OP_POSQUERY 
OP_POSUPTO 
OP_STARI 
OP_MINSTARI 
OP_PLUSI 
OP_MINPLUSI 
OP_QUERYI 
OP_MINQUERYI 
OP_UPTOI 
OP_MINUPTOI 
OP_EXACTI 
OP_POSSTARI 
OP_POSPLUSI 
OP_POSQUERYI 
OP_POSUPTOI 
OP_NOTSTAR 
OP_NOTMINSTAR 
OP_NOTPLUS 
OP_NOTMINPLUS 
OP_NOTQUERY 
OP_NOTMINQUERY 
OP_NOTUPTO 
OP_NOTMINUPTO 
OP_NOTEXACT 
OP_NOTPOSSTAR 
OP_NOTPOSPLUS 
OP_NOTPOSQUERY 
OP_NOTPOSUPTO 
OP_NOTSTARI 
OP_NOTMINSTARI 
OP_NOTPLUSI 
OP_NOTMINPLUSI 
OP_NOTQUERYI 
OP_NOTMINQUERYI 
OP_NOTUPTOI 
OP_NOTMINUPTOI 
OP_NOTEXACTI 
OP_NOTPOSSTARI 
OP_NOTPOSPLUSI 
OP_NOTPOSQUERYI 
OP_NOTPOSUPTOI 
OP_TYPESTAR 
OP_TYPEMINSTAR 
OP_TYPEPLUS 
OP_TYPEMINPLUS 
OP_TYPEQUERY 
OP_TYPEMINQUERY 
OP_TYPEUPTO 
OP_TYPEMINUPTO 
OP_TYPEEXACT 
OP_TYPEPOSSTAR 
OP_TYPEPOSPLUS 
OP_TYPEPOSQUERY 
OP_TYPEPOSUPTO 
OP_CRSTAR 
OP_CRMINSTAR 
OP_CRPLUS 
OP_CRMINPLUS 
OP_CRQUERY 
OP_CRMINQUERY 
OP_CRRANGE 
OP_CRMINRANGE 
OP_CRPOSSTAR 
OP_CRPOSPLUS 
OP_CRPOSQUERY 
OP_CRPOSRANGE 
OP_CLASS 
OP_NCLASS 
OP_XCLASS 
OP_REF 
OP_REFI 
OP_DNREF 
OP_DNREFI 
OP_RECURSE 
OP_CALLOUT 
OP_CALLOUT_STR 
OP_ALT 
OP_KET 
OP_KETRMAX 
OP_KETRMIN 
OP_KETRPOS 
OP_REVERSE 
OP_ASSERT 
OP_ASSERT_NOT 
OP_ASSERTBACK 
OP_ASSERTBACK_NOT 
OP_ASSERT_NA 
OP_ASSERTBACK_NA 
OP_ONCE 
OP_SCRIPT_RUN 
OP_BRA 
OP_BRAPOS 
OP_CBRA 
OP_CBRAPOS 
OP_COND 
OP_SBRA 
OP_SBRAPOS 
OP_SCBRA 
OP_SCBRAPOS 
OP_SCOND 
OP_CREF 
OP_DNCREF 
OP_RREF 
OP_DNRREF 
OP_FALSE 
OP_TRUE 
OP_BRAZERO 
OP_BRAMINZERO 
OP_BRAPOSZERO 
OP_MARK 
OP_PRUNE 
OP_PRUNE_ARG 
OP_SKIP 
OP_SKIP_ARG 
OP_THEN 
OP_THEN_ARG 
OP_COMMIT 
OP_COMMIT_ARG 
OP_FAIL 
OP_ACCEPT 
OP_ASSERT_ACCEPT 
OP_CLOSE 
OP_SKIPZERO 
OP_DEFINE 
OP_TABLE_LENGTH 

Definition at line 1368 of file pcre2_internal.h.