pcre  8.33
About: PCRE - Perl-compatible regular expressions
  Fossies Dox: pcre-8.33.tar.gz  ("inofficial" and yet experimental doxygen-generated source code documentation)  

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
pcre_internal.h File Reference
#include <ctype.h>
#include <limits.h>
#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "pcre.h"
#include "ucp.h"
Include dependency graph for pcre_internal.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  real_pcre8_or_16
 
struct  real_pcre32
 
struct  pcre_study_data
 
struct  open_capitem
 
struct  compile_data
 
struct  branch_chain
 
struct  recursion_info
 
struct  dfa_recursion_info
 
struct  eptrblock
 
struct  match_data
 
struct  dfa_match_data
 
struct  ucp_type_table
 
struct  ucd_record
 

Macros

#define COMPILE_PCRE8
 
#define DPRINTF(p)   /* Nothing */
 
#define PCRE_EXP_DECL   extern
 
#define PCRE_EXP_DEFN   PCRE_EXP_DECL
 
#define PCRE_EXP_DATA_DEFN
 
#define PCRE_CALL_CONVENTION
 
#define INT64_OR_DOUBLE   double
 
#define IN_UCHARS(x)   (x)
 
#define MAX_255(c)   1
 
#define TABLE_GET(c, table, default)   ((table)[c])
 
#define NOTACHAR   0xffffffff
 
#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 PCRE_PUCHAR   const pcre_uchar *
 
#define memmove(a, b, c)   pcre_memmove(a, b, c)
 
#define PUTINC(a, n, d)   PUT(a,n,d), a += LINK_SIZE
 
#define IMM2_SIZE   2
 
#define PUT2(a, n, d)
 
#define GET2(a, n)   (unsigned int)(((a)[n] << 8) | (a)[(n)+1])
 
#define PUT2INC(a, n, d)   PUT2(a,n,d), a += IMM2_SIZE
 
#define MAX_MARK   ((1u << 8) - 1)
 
#define GETCHAR(c, eptr)   c = *eptr;
 
#define GETCHARTEST(c, eptr)   c = *eptr;
 
#define GETCHARINC(c, eptr)   c = *eptr++;
 
#define GETCHARINCTEST(c, eptr)   c = *eptr++;
 
#define GETCHARLEN(c, eptr, len)   c = *eptr;
 
#define RAWUCHAR(eptr)   (*(eptr))
 
#define RAWUCHARINC(eptr)   (*(eptr)++)
 
#define RAWUCHARTEST(eptr)   (*(eptr))
 
#define RAWUCHARINCTEST(eptr)   (*(eptr)++)
 
#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 PCRE_MODE8   0x00000001 /* compiled in 8 bit mode */
 
#define PCRE_MODE16   0x00000002 /* compiled in 16 bit mode */
 
#define PCRE_MODE32   0x00000004 /* compiled in 32 bit mode */
 
#define PCRE_FIRSTSET   0x00000010 /* first_char is set */
 
#define PCRE_FCH_CASELESS   0x00000020 /* caseless first char */
 
#define PCRE_REQCHSET   0x00000040 /* req_byte is set */
 
#define PCRE_RCH_CASELESS   0x00000080 /* caseless requested char */
 
#define PCRE_STARTLINE   0x00000100 /* start after \n for multiline */
 
#define PCRE_NOPARTIAL   0x00000200 /* can't use partial with this regex */
 
#define PCRE_JCHANGED   0x00000400 /* j option used in regex */
 
#define PCRE_HASCRORLF   0x00000800 /* explicit \r or \n in pattern */
 
#define PCRE_HASTHEN   0x00001000 /* pattern contains (*THEN) */
 
#define PCRE_MLSET   0x00002000 /* match limit set by regex */
 
#define PCRE_RLSET   0x00004000 /* recursion limit set by regex */
 
#define PCRE_MODE   PCRE_MODE8
 
#define PCRE_MODE_MASK   (PCRE_MODE8 | PCRE_MODE16 | PCRE_MODE32)
 
#define PCRE_STUDY_MAPPED   0x0001 /* a map of starting chars exists */
 
#define PCRE_STUDY_MINLEN   0x0002 /* a minimum length field exists */
 
#define PCRE_NEWLINE_BITS
 
#define PUBLIC_COMPILE_OPTIONS
 
#define PUBLIC_EXEC_OPTIONS
 
#define PUBLIC_DFA_EXEC_OPTIONS
 
#define PUBLIC_STUDY_OPTIONS
 
#define PUBLIC_JIT_EXEC_OPTIONS
 
#define MAGIC_NUMBER   0x50435245UL /* 'PCRE' */
 
#define REVERSED_MAGIC_NUMBER   0x45524350UL /* 'ERCP' */
 
#define REQ_BYTE_MAX   1000
 
#define FALSE   0
 
#define TRUE   1
 
#define CHAR_LF   '\n'
 
#define CHAR_NL   CHAR_LF
 
#define CHAR_NEL   ((unsigned char)'\x85')
 
#define CHAR_ESC   '\033'
 
#define CHAR_DEL   '\177'
 
#define STR_LF   "\n"
 
#define STR_NL   STR_LF
 
#define STR_NEL   "\x85"
 
#define STR_ESC   "\033"
 
#define STR_DEL   "\177"
 
#define CHAR_NULL   '\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_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_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_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_START_OPT_RIGHTPAR   "NO_START_OPT)"
 
#define STRING_LIMIT_MATCH_EQ   "LIMIT_MATCH="
 
#define STRING_LIMIT_RECURSION_EQ   "LIMIT_RECURSION="
 
#define ESC_e   CHAR_ESC
 
#define ESC_f   CHAR_FF
 
#define ESC_n   CHAR_LF
 
#define ESC_r   CHAR_CR
 
#define ESC_tee   CHAR_HT
 
#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 (e.g. Han) */
 
#define PT_ALNUM   5 /* Alphanumeric - the union of L and N */
 
#define PT_SPACE   6 /* Perl space - Z plus 9,10,12,13 */
 
#define PT_PXSPACE   7 /* POSIX space - Z plus 9,10,11,12,13 */
 
#define PT_WORD   8 /* Word - L plus N plus underscore */
 
#define PT_CLIST   9 /* Pseudo-property: match character list */
 
#define PT_UCNC   10 /* Universal Character nameable character */
 
#define XCL_NOT   0x01 /* Flag: this is a negative class */
 
#define XCL_MAP   0x02 /* Flag: a 32-byte map is 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 OP_NAME_LIST
 
#define OP_LENGTHS
 
#define RREF_ANY   0xffff
 
#define REAL_PCRE   real_pcre
 
#define REAL_PCRE_MAGIC(re)   (((REAL_PCRE*)re)->magic_number)
 
#define REAL_PCRE_SIZE(re)   (((REAL_PCRE*)re)->size)
 
#define REAL_PCRE_OPTIONS(re)   (((REAL_PCRE*)re)->options)
 
#define REAL_PCRE_FLAGS(re)   (((REAL_PCRE*)re)->flags)
 
#define ctype_space   0x01
 
#define ctype_letter   0x02
 
#define ctype_digit   0x04
 
#define ctype_xdigit   0x08
 
#define ctype_word   0x10 /* alphanumeric or '_' */
 
#define ctype_meta   0x80 /* regexp meta char or zero (end pattern) */
 
#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 lcc_offset   0
 
#define fcc_offset   256
 
#define cbits_offset   512
 
#define ctypes_offset   (cbits_offset + cbit_length)
 
#define tables_length   (ctypes_offset + 256)
 
#define PUBL(name)   pcre_##name
 
#define PRIV(name)   _pcre_##name
 
#define STRCMP_UC_UC(str1, str2)   strcmp((char *)(str1), (char *)(str2))
 
#define STRCMP_UC_C8(str1, str2)   strcmp((char *)(str1), (str2))
 
#define STRNCMP_UC_UC(str1, str2, num)   strncmp((char *)(str1), (char *)(str2), (num))
 
#define STRNCMP_UC_C8(str1, str2, num)   strncmp((char *)(str1), (str2), (num))
 
#define STRLEN_UC(str)   strlen((const char *)str)
 
#define STRCMP_UC_UC_TEST(str1, str2)   STRCMP_UC_UC(str1, str2)
 
#define STRCMP_UC_C8_TEST(str1, str2)   STRCMP_UC_C8(str1, str2)
 

Typedefs

typedef unsigned char pcre_uint8
 
typedef unsigned char pcre_uchar
 
typedef int BOOL
 
typedef struct real_pcre8_or_16 real_pcre8_or_16
 
typedef struct real_pcre8_or_16 real_pcre
 
typedef struct real_pcre8_or_16 real_pcre16
 
typedef struct real_pcre32 real_pcre32
 
typedef int __assert_real_pcre_size_divisible_8 [(sizeof(REAL_PCRE)%8)==0?1:-1]
 
typedef struct pcre_study_data pcre_study_data
 
typedef struct open_capitem open_capitem
 
typedef struct compile_data compile_data
 
typedef struct branch_chain branch_chain
 
typedef struct recursion_info recursion_info
 
typedef struct dfa_recursion_info dfa_recursion_info
 
typedef struct eptrblock eptrblock
 
typedef struct match_data match_data
 
typedef struct dfa_match_data dfa_match_data
 

Enumerations

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,
  ESC_DU, ESC_du, ESC_SU, ESC_su,
  ESC_WU, ESC_wu
}
 
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_CIRC, OP_CIRCM, OP_DOLL,
  OP_DOLLM, 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_CLASS, OP_NCLASS,
  OP_XCLASS, OP_REF, OP_REFI, OP_RECURSE,
  OP_CALLOUT, OP_ALT, OP_KET, OP_KETRMAX,
  OP_KETRMIN, OP_KETRPOS, OP_REVERSE, OP_ASSERT,
  OP_ASSERT_NOT, OP_ASSERTBACK, OP_ASSERTBACK_NOT, OP_ONCE,
  OP_ONCE_NC, OP_BRA, OP_BRAPOS, OP_CBRA,
  OP_CBRAPOS, OP_COND, OP_SBRA, OP_SBRAPOS,
  OP_SCBRA, OP_SCBRAPOS, OP_SCOND, OP_CREF,
  OP_NCREF, OP_RREF, OP_NRREF, OP_DEF,
  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_FAIL,
  OP_ACCEPT, OP_ASSERT_ACCEPT, OP_CLOSE, OP_SKIPZERO,
  OP_TABLE_LENGTH
}
 
enum  {
  ERR0, ERR1, ERR2, ERR3,
  ERR4, ERR5, ERR6, ERR7,
  ERR8, ERR9, ERR10, ERR11,
  ERR12, ERR13, ERR14, ERR15,
  ERR16, ERR17, ERR18, ERR19,
  ERR20, ERR21, ERR22, ERR23,
  ERR24, ERR25, ERR26, ERR27,
  ERR28, ERR29, ERR30, ERR31,
  ERR32, ERR33, ERR34, ERR35,
  ERR36, ERR37, ERR38, ERR39,
  ERR40, ERR41, ERR42, ERR43,
  ERR44, ERR45, ERR46, ERR47,
  ERR48, ERR49, ERR50, ERR51,
  ERR52, ERR53, ERR54, ERR55,
  ERR56, ERR57, ERR58, ERR59,
  ERR60, ERR61, ERR62, ERR63,
  ERR64, ERR65, ERR66, ERR67,
  ERR68, ERR69, ERR70, ERR71,
  ERR72, ERR73, ERR74, ERR75,
  ERR76, ERR77, ERR78, ERRCOUNT
}
 
enum  { JIT_COMPILE, JIT_PARTIAL_SOFT_COMPILE, JIT_PARTIAL_HARD_COMPILE, JIT_NUMBER_OF_COMPILE_MODES }
 

Functions

const int PRIV (utf8_table1)[]
 
const int PRIV (utf8_table1_size)
 
const int PRIV (utf8_table2)[]
 
const int PRIV (utf8_table3)[]
 
const pcre_uint8 PRIV (utf8_table4)[]
 
const char PRIV (utt_names)[]
 
const ucp_type_table PRIV (utt)[]
 
const int PRIV (utt_size)
 
const pcre_uint8 PRIV (OP_lengths)[]
 
const pcre_uint8 PRIV (default_tables)[]
 
const pcre_uint32 PRIV (hspace_list)[]
 
const pcre_uint32 PRIV (vspace_list)[]
 
const pcre_uchar *PRIV() find_bracket (const pcre_uchar *, BOOL, int)
 
BOOL PRIV() is_newline (PCRE_PUCHAR, int, PCRE_PUCHAR, int *, BOOL)
 
unsigned int PRIV() ord2utf (pcre_uint32, pcre_uchar *)
 
int PRIV() valid_utf (PCRE_PUCHAR, int, int *)
 
BOOL PRIV() was_newline (PCRE_PUCHAR, int, PCRE_PUCHAR, int *, BOOL)
 
BOOL PRIV() xclass (pcre_uint32, const pcre_uchar *, BOOL)
 
const pcre_uint32 PRIV (ucd_caseless_sets)[]
 
const ucd_record PRIV (ucd_records)[]
 
const pcre_uint8 PRIV (ucd_stage1)[]
 
const pcre_uint16 PRIV (ucd_stage2)[]
 
const pcre_uint32 PRIV (ucp_gentype)[]
 
const pcre_uint32 PRIV (ucp_gbtable)[]
 

Macro Definition Documentation

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

Definition at line 2578 of file pcre_internal.h.

Referenced by pcre_maketables().

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

Definition at line 2571 of file pcre_internal.h.

Referenced by pcre_maketables().

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

Definition at line 2575 of file pcre_internal.h.

Referenced by pcre_maketables().

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

Definition at line 2579 of file pcre_internal.h.

Referenced by main(), and pcre_maketables().

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

Definition at line 2573 of file pcre_internal.h.

Referenced by pcre_maketables().

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

Definition at line 2576 of file pcre_internal.h.

Referenced by pcre_maketables().

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

Definition at line 2577 of file pcre_internal.h.

Referenced by pcre_maketables().

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

Definition at line 2569 of file pcre_internal.h.

Referenced by pcre_maketables().

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

Definition at line 2572 of file pcre_internal.h.

Referenced by pcre_maketables().

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

Definition at line 2574 of file pcre_internal.h.

Referenced by pcre_maketables().

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

Definition at line 2570 of file pcre_internal.h.

Referenced by pcre_maketables().

#define cbits_offset   512

Definition at line 2586 of file pcre_internal.h.

Referenced by pcre_compile2(), and pcre_study().

#define CHAR_0   '0'

Definition at line 1326 of file pcre_internal.h.

Referenced by pcre_compile2().

#define CHAR_1   '1'

Definition at line 1327 of file pcre_internal.h.

#define CHAR_2   '2'

Definition at line 1328 of file pcre_internal.h.

#define CHAR_3   '3'

Definition at line 1329 of file pcre_internal.h.

#define CHAR_4   '4'

Definition at line 1330 of file pcre_internal.h.

#define CHAR_5   '5'

Definition at line 1331 of file pcre_internal.h.

#define CHAR_6   '6'

Definition at line 1332 of file pcre_internal.h.

#define CHAR_7   '7'

Definition at line 1333 of file pcre_internal.h.

#define CHAR_8   '8'

Definition at line 1334 of file pcre_internal.h.

#define CHAR_9   '9'

Definition at line 1335 of file pcre_internal.h.

#define CHAR_A   'A'

Definition at line 1343 of file pcre_internal.h.

#define CHAR_a   'a'

Definition at line 1375 of file pcre_internal.h.

#define CHAR_AMPERSAND   '&'

Definition at line 1316 of file pcre_internal.h.

#define CHAR_APOSTROPHE   '\''

Definition at line 1317 of file pcre_internal.h.

#define CHAR_ASTERISK   '*'

Definition at line 1320 of file pcre_internal.h.

Referenced by pcre_compile2().

#define CHAR_B   'B'

Definition at line 1344 of file pcre_internal.h.

#define CHAR_b   'b'

Definition at line 1376 of file pcre_internal.h.

#define CHAR_BACKSLASH   '\\'

Definition at line 1370 of file pcre_internal.h.

#define CHAR_BEL   '\a'

Definition at line 1308 of file pcre_internal.h.

#define CHAR_BS   '\b'

Definition at line 1307 of file pcre_internal.h.

#define CHAR_C   'C'

Definition at line 1345 of file pcre_internal.h.

#define CHAR_c   'c'

Definition at line 1377 of file pcre_internal.h.

#define CHAR_CIRCUMFLEX_ACCENT   '^'

Definition at line 1372 of file pcre_internal.h.

#define CHAR_COLON   ':'

Definition at line 1336 of file pcre_internal.h.

#define CHAR_COMMA   ','

Definition at line 1322 of file pcre_internal.h.

#define CHAR_COMMERCIAL_AT   '@'

Definition at line 1342 of file pcre_internal.h.

Referenced by xclass().

#define CHAR_CR   '\r'
#define CHAR_D   'D'

Definition at line 1346 of file pcre_internal.h.

#define CHAR_d   'd'

Definition at line 1378 of file pcre_internal.h.

#define CHAR_DEL   '\177'

Definition at line 1290 of file pcre_internal.h.

#define CHAR_DOLLAR_SIGN   '$'

Definition at line 1314 of file pcre_internal.h.

Referenced by xclass().

#define CHAR_DOT   '.'

Definition at line 1324 of file pcre_internal.h.

#define CHAR_E   'E'

Definition at line 1347 of file pcre_internal.h.

#define CHAR_e   'e'

Definition at line 1379 of file pcre_internal.h.

#define CHAR_EQUALS_SIGN   '='

Definition at line 1339 of file pcre_internal.h.

#define CHAR_ESC   '\033'

Definition at line 1289 of file pcre_internal.h.

#define CHAR_EXCLAMATION_MARK   '!'

Definition at line 1311 of file pcre_internal.h.

#define CHAR_F   'F'

Definition at line 1348 of file pcre_internal.h.

#define CHAR_f   'f'

Definition at line 1380 of file pcre_internal.h.

#define CHAR_FF   '\f'

Definition at line 1305 of file pcre_internal.h.

Referenced by is_newline(), was_newline(), and xclass().

#define CHAR_G   'G'

Definition at line 1349 of file pcre_internal.h.

#define CHAR_g   'g'

Definition at line 1381 of file pcre_internal.h.

#define CHAR_GRAVE_ACCENT   '`'

Definition at line 1374 of file pcre_internal.h.

Referenced by xclass().

#define CHAR_GREATER_THAN_SIGN   '>'

Definition at line 1340 of file pcre_internal.h.

#define CHAR_H   'H'

Definition at line 1350 of file pcre_internal.h.

#define CHAR_h   'h'

Definition at line 1382 of file pcre_internal.h.

#define CHAR_HT   '\t'

Definition at line 1303 of file pcre_internal.h.

Referenced by xclass().

#define CHAR_I   'I'

Definition at line 1351 of file pcre_internal.h.

#define CHAR_i   'i'

Definition at line 1383 of file pcre_internal.h.

#define CHAR_J   'J'

Definition at line 1352 of file pcre_internal.h.

#define CHAR_j   'j'

Definition at line 1384 of file pcre_internal.h.

#define CHAR_K   'K'

Definition at line 1353 of file pcre_internal.h.

#define CHAR_k   'k'

Definition at line 1385 of file pcre_internal.h.

#define CHAR_L   'L'

Definition at line 1354 of file pcre_internal.h.

#define CHAR_l   'l'

Definition at line 1386 of file pcre_internal.h.

#define CHAR_LEFT_CURLY_BRACKET   '{'

Definition at line 1401 of file pcre_internal.h.

#define CHAR_LEFT_PARENTHESIS   '('

Definition at line 1318 of file pcre_internal.h.

Referenced by pcre_compile2().

#define CHAR_LEFT_SQUARE_BRACKET   '['

Definition at line 1369 of file pcre_internal.h.

#define CHAR_LESS_THAN_SIGN   '<'

Definition at line 1338 of file pcre_internal.h.

#define CHAR_LF   '\n'

Definition at line 1286 of file pcre_internal.h.

Referenced by is_newline(), main(), and was_newline().

#define CHAR_M   'M'

Definition at line 1355 of file pcre_internal.h.

#define CHAR_m   'm'

Definition at line 1387 of file pcre_internal.h.

#define CHAR_MINUS   '-'

Definition at line 1323 of file pcre_internal.h.

#define CHAR_N   'N'

Definition at line 1356 of file pcre_internal.h.

#define CHAR_n   'n'

Definition at line 1388 of file pcre_internal.h.

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

Definition at line 1288 of file pcre_internal.h.

Referenced by is_newline(), and was_newline().

#define CHAR_NL   CHAR_LF

Definition at line 1287 of file pcre_internal.h.

Referenced by pcre_compile2(), pcre_dfa_exec(), pcre_exec(), and xclass().

#define CHAR_NULL   '\0'

Definition at line 1302 of file pcre_internal.h.

Referenced by pcre_compile2().

#define CHAR_NUMBER_SIGN   '#'

Definition at line 1313 of file pcre_internal.h.

#define CHAR_O   'O'

Definition at line 1357 of file pcre_internal.h.

#define CHAR_o   'o'

Definition at line 1389 of file pcre_internal.h.

#define CHAR_P   'P'

Definition at line 1358 of file pcre_internal.h.

#define CHAR_p   'p'

Definition at line 1390 of file pcre_internal.h.

#define CHAR_PERCENT_SIGN   '%'

Definition at line 1315 of file pcre_internal.h.

#define CHAR_PLUS   '+'

Definition at line 1321 of file pcre_internal.h.

#define CHAR_Q   'Q'

Definition at line 1359 of file pcre_internal.h.

#define CHAR_q   'q'

Definition at line 1391 of file pcre_internal.h.

#define CHAR_QUESTION_MARK   '?'

Definition at line 1341 of file pcre_internal.h.

#define CHAR_QUOTATION_MARK   '"'

Definition at line 1312 of file pcre_internal.h.

#define CHAR_R   'R'

Definition at line 1360 of file pcre_internal.h.

#define CHAR_r   'r'

Definition at line 1392 of file pcre_internal.h.

#define CHAR_RIGHT_CURLY_BRACKET   '}'

Definition at line 1403 of file pcre_internal.h.

#define CHAR_RIGHT_PARENTHESIS   ')'

Definition at line 1319 of file pcre_internal.h.

Referenced by pcre_compile2().

#define CHAR_RIGHT_SQUARE_BRACKET   ']'

Definition at line 1371 of file pcre_internal.h.

#define CHAR_S   'S'

Definition at line 1361 of file pcre_internal.h.

#define CHAR_s   's'

Definition at line 1393 of file pcre_internal.h.

#define CHAR_SEMICOLON   ';'

Definition at line 1337 of file pcre_internal.h.

#define CHAR_SLASH   '/'

Definition at line 1325 of file pcre_internal.h.

#define CHAR_SPACE   ' '

Definition at line 1310 of file pcre_internal.h.

#define CHAR_T   'T'

Definition at line 1362 of file pcre_internal.h.

#define CHAR_t   't'

Definition at line 1394 of file pcre_internal.h.

#define CHAR_TILDE   '~'

Definition at line 1404 of file pcre_internal.h.

#define CHAR_U   'U'

Definition at line 1363 of file pcre_internal.h.

#define CHAR_u   'u'

Definition at line 1395 of file pcre_internal.h.

#define CHAR_UNDERSCORE   '_'

Definition at line 1373 of file pcre_internal.h.

Referenced by xclass().

#define CHAR_V   'V'

Definition at line 1364 of file pcre_internal.h.

#define CHAR_v   'v'

Definition at line 1396 of file pcre_internal.h.

#define CHAR_VERTICAL_LINE   '|'

Definition at line 1402 of file pcre_internal.h.

#define CHAR_VT   '\v'

Definition at line 1304 of file pcre_internal.h.

Referenced by is_newline(), pcre_maketables(), was_newline(), and xclass().

#define CHAR_W   'W'

Definition at line 1365 of file pcre_internal.h.

#define CHAR_w   'w'

Definition at line 1397 of file pcre_internal.h.

#define CHAR_X   'X'

Definition at line 1366 of file pcre_internal.h.

#define CHAR_x   'x'

Definition at line 1398 of file pcre_internal.h.

#define CHAR_Y   'Y'

Definition at line 1367 of file pcre_internal.h.

#define CHAR_y   'y'

Definition at line 1399 of file pcre_internal.h.

#define CHAR_Z   'Z'

Definition at line 1368 of file pcre_internal.h.

#define CHAR_z   'z'

Definition at line 1400 of file pcre_internal.h.

#define COMPILE_PCRE8

Definition at line 58 of file pcre_internal.h.

#define ctype_digit   0x04

Definition at line 2561 of file pcre_internal.h.

Referenced by main(), and pcre_maketables().

#define ctype_letter   0x02

Definition at line 2560 of file pcre_internal.h.

Referenced by main(), and pcre_maketables().

#define ctype_meta   0x80 /* regexp meta char or zero (end pattern) */

Definition at line 2564 of file pcre_internal.h.

Referenced by main(), and pcre_maketables().

#define ctype_space   0x01

Definition at line 2559 of file pcre_internal.h.

Referenced by main(), and pcre_maketables().

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

Definition at line 2563 of file pcre_internal.h.

Referenced by main(), and pcre_maketables().

#define ctype_xdigit   0x08

Definition at line 2562 of file pcre_internal.h.

Referenced by main(), and pcre_maketables().

#define ctypes_offset   (cbits_offset + cbit_length)

Definition at line 2587 of file pcre_internal.h.

Referenced by pcre_compile2(), pcre_exec(), and pcre_study().

#define DPRINTF (   p)    /* Nothing */

Definition at line 101 of file pcre_internal.h.

Referenced by pcre_compile2(), and pcre_exec().

#define ESC_e   CHAR_ESC

Definition at line 1819 of file pcre_internal.h.

#define ESC_f   CHAR_FF

Definition at line 1823 of file pcre_internal.h.

#define ESC_n   CHAR_LF

Definition at line 1827 of file pcre_internal.h.

#define ESC_r   CHAR_CR

Definition at line 1831 of file pcre_internal.h.

#define ESC_tee   CHAR_HT

Definition at line 1838 of file pcre_internal.h.

#define fcc_offset   256

Definition at line 2585 of file pcre_internal.h.

Referenced by pcre_compile2(), pcre_dfa_exec(), pcre_exec(), and pcre_study().

#define GET2 (   a,
 
)    (unsigned int)(((a)[n] << 8) | (a)[(n)+1])

Definition at line 547 of file pcre_internal.h.

Referenced by find_bracket(), pcre_get_stringnumber(), and pcre_printint().

#define GETCHAR (   c,
  eptr 
)    c = *eptr;

Definition at line 598 of file pcre_internal.h.

Referenced by is_newline(), and was_newline().

#define GETCHARINC (   c,
  eptr 
)    c = *eptr++;

Definition at line 600 of file pcre_internal.h.

Referenced by xclass().

#define GETCHARINCTEST (   c,
  eptr 
)    c = *eptr++;

Definition at line 601 of file pcre_internal.h.

#define GETCHARLEN (   c,
  eptr,
  len 
)    c = *eptr;

Definition at line 602 of file pcre_internal.h.

#define GETCHARTEST (   c,
  eptr 
)    c = *eptr;

Definition at line 599 of file pcre_internal.h.

#define HSPACE_BYTE_CASES
Value:
case CHAR_HT: \
case CHAR_SPACE: \
case 0xa0 /* NBSP */

Definition at line 1071 of file pcre_internal.h.

#define HSPACE_CASES
Value:
HSPACE_MULTIBYTE_CASES

Definition at line 1076 of file pcre_internal.h.

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

Definition at line 1047 of file pcre_internal.h.

#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 1053 of file pcre_internal.h.

#define IMM2_SIZE   2
#define IN_UCHARS (   x)    (x)
#define INT64_OR_DOUBLE   double

Definition at line 241 of file pcre_internal.h.

#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 && \
RAWUCHARTEST(p) == NLBLOCK->nl[0] && \
(NLBLOCK->nllen == 1 || RAWUCHARTEST(p+1) == NLBLOCK->nl[1]) \
) \
)

Definition at line 312 of file pcre_internal.h.

Referenced by pcre_dfa_exec(), and pcre_exec().

#define lcc_offset   0

Definition at line 2584 of file pcre_internal.h.

Referenced by pcre_compile2(), pcre_exec(), and pcre_study().

#define MAGIC_NUMBER   0x50435245UL /* 'PCRE' */
#define MAX_255 (   c)    1

Definition at line 265 of file pcre_internal.h.

Referenced by pcre_compile2().

#define MAX_MARK   ((1u << 8) - 1)

Definition at line 582 of file pcre_internal.h.

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

Definition at line 406 of file pcre_internal.h.

Referenced by main().

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

Definition at line 307 of file pcre_internal.h.

Referenced by pcre_compile2(), pcre_dfa_exec(), and pcre_exec().

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

Definition at line 308 of file pcre_internal.h.

Referenced by is_newline(), pcre_compile2(), pcre_dfa_exec(), pcre_exec(), and was_newline().

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

Definition at line 306 of file pcre_internal.h.

Referenced by pcre_compile2(), pcre_dfa_exec(), and pcre_exec().

#define NOTACHAR   0xffffffff

Definition at line 298 of file pcre_internal.h.

#define OP_LENGTHS

Definition at line 2195 of file pcre_internal.h.

#define OP_NAME_LIST

Definition at line 2148 of file pcre_internal.h.

#define PCRE_CALL_CONVENTION

Definition at line 185 of file pcre_internal.h.

#define PCRE_EXP_DATA_DEFN

Definition at line 169 of file pcre_internal.h.

#define PCRE_EXP_DECL   extern

Definition at line 163 of file pcre_internal.h.

#define PCRE_EXP_DEFN   PCRE_EXP_DECL

Definition at line 166 of file pcre_internal.h.

#define PCRE_FCH_CASELESS   0x00000020 /* caseless first char */

Definition at line 1142 of file pcre_internal.h.

Referenced by main(), pcre_compile2(), pcre_dfa_exec(), and pcre_exec().

#define PCRE_FIRSTSET   0x00000010 /* first_char is set */

Definition at line 1141 of file pcre_internal.h.

Referenced by pcre_compile2(), pcre_dfa_exec(), pcre_exec(), pcre_fullinfo(), and pcre_study().

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

Definition at line 1148 of file pcre_internal.h.

Referenced by pcre_dfa_exec(), pcre_exec(), and pcre_fullinfo().

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

Definition at line 1149 of file pcre_internal.h.

Referenced by pcre_exec().

#define PCRE_JCHANGED   0x00000400 /* j option used in regex */

Definition at line 1147 of file pcre_internal.h.

Referenced by pcre_fullinfo().

#define PCRE_MLSET   0x00002000 /* match limit set by regex */

Definition at line 1150 of file pcre_internal.h.

Referenced by pcre_compile2(), pcre_exec(), and pcre_fullinfo().

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

Definition at line 1139 of file pcre_internal.h.

Referenced by main().

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

Definition at line 1140 of file pcre_internal.h.

Referenced by main().

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

Definition at line 1138 of file pcre_internal.h.

Referenced by main().

#define PCRE_MODE_MASK   (PCRE_MODE8 | PCRE_MODE16 | PCRE_MODE32)

Definition at line 1160 of file pcre_internal.h.

Referenced by main().

#define PCRE_NEWLINE_BITS
Value:
(PCRE_NEWLINE_CR|PCRE_NEWLINE_LF|PCRE_NEWLINE_ANY| \
PCRE_NEWLINE_ANYCRLF)

Definition at line 1170 of file pcre_internal.h.

Referenced by main(), pcre_compile2(), pcre_dfa_exec(), and pcre_exec().

#define PCRE_NOPARTIAL   0x00000200 /* can't use partial with this regex */

Definition at line 1146 of file pcre_internal.h.

Referenced by pcre_exec(), and pcre_fullinfo().

#define PCRE_PUCHAR   const pcre_uchar *

Definition at line 350 of file pcre_internal.h.

Referenced by pcre_compile2(), pcre_dfa_exec(), pcre_exec(), and valid_utf().

#define PCRE_RCH_CASELESS   0x00000080 /* caseless requested char */

Definition at line 1144 of file pcre_internal.h.

Referenced by main(), pcre_compile2(), pcre_dfa_exec(), and pcre_exec().

#define PCRE_REQCHSET   0x00000040 /* req_byte is set */

Definition at line 1143 of file pcre_internal.h.

Referenced by pcre_compile2(), pcre_dfa_exec(), pcre_exec(), and pcre_fullinfo().

#define PCRE_RLSET   0x00004000 /* recursion limit set by regex */

Definition at line 1151 of file pcre_internal.h.

Referenced by pcre_compile2(), pcre_exec(), and pcre_fullinfo().

#define PCRE_STARTLINE   0x00000100 /* start after \n for multiline */

Definition at line 1145 of file pcre_internal.h.

Referenced by pcre_compile2(), pcre_dfa_exec(), pcre_exec(), pcre_fullinfo(), and pcre_study().

#define PCRE_STUDY_MAPPED   0x0001 /* a map of starting chars exists */

Definition at line 1164 of file pcre_internal.h.

Referenced by pcre_dfa_exec(), pcre_exec(), pcre_fullinfo(), and pcre_study().

#define PCRE_STUDY_MINLEN   0x0002 /* a minimum length field exists */

Definition at line 1165 of file pcre_internal.h.

Referenced by pcre_dfa_exec(), pcre_exec(), pcre_fullinfo(), and pcre_study().

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

Definition at line 1848 of file pcre_internal.h.

Referenced by xclass().

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

Definition at line 1843 of file pcre_internal.h.

Referenced by xclass().

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

Definition at line 1852 of file pcre_internal.h.

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

Definition at line 1845 of file pcre_internal.h.

Referenced by xclass().

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

Definition at line 1844 of file pcre_internal.h.

Referenced by xclass().

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

Definition at line 1846 of file pcre_internal.h.

Referenced by xclass().

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

Definition at line 1850 of file pcre_internal.h.

Referenced by xclass().

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

Definition at line 1847 of file pcre_internal.h.

Referenced by xclass().

#define PT_SPACE   6 /* Perl space - Z plus 9,10,12,13 */

Definition at line 1849 of file pcre_internal.h.

Referenced by xclass().

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

Definition at line 1853 of file pcre_internal.h.

Referenced by xclass().

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

Definition at line 1851 of file pcre_internal.h.

Referenced by xclass().

#define PUBL (   name)    pcre_##name

Definition at line 2594 of file pcre_internal.h.

#define PUBLIC_COMPILE_OPTIONS
Value:
(PCRE_CASELESS|PCRE_EXTENDED|PCRE_ANCHORED|PCRE_MULTILINE| \
PCRE_DOTALL|PCRE_DOLLAR_ENDONLY|PCRE_EXTRA|PCRE_UNGREEDY|PCRE_UTF8| \
PCRE_NO_AUTO_CAPTURE|PCRE_NO_UTF8_CHECK|PCRE_AUTO_CALLOUT|PCRE_FIRSTLINE| \
PCRE_DUPNAMES|PCRE_NEWLINE_BITS|PCRE_BSR_ANYCRLF|PCRE_BSR_UNICODE| \
PCRE_JAVASCRIPT_COMPAT|PCRE_UCP|PCRE_NO_START_OPTIMIZE|PCRE_NEVER_UTF)

Definition at line 1173 of file pcre_internal.h.

Referenced by pcre_compile2(), and pcre_fullinfo().

#define PUBLIC_DFA_EXEC_OPTIONS
Value:
(PCRE_ANCHORED|PCRE_NOTBOL|PCRE_NOTEOL|PCRE_NOTEMPTY|PCRE_NOTEMPTY_ATSTART| \
PCRE_NO_UTF8_CHECK|PCRE_PARTIAL_HARD|PCRE_PARTIAL_SOFT|PCRE_DFA_SHORTEST| \
PCRE_DFA_RESTART|PCRE_NEWLINE_BITS|PCRE_BSR_ANYCRLF|PCRE_BSR_UNICODE| \
PCRE_NO_START_OPTIMIZE)

Definition at line 1185 of file pcre_internal.h.

Referenced by pcre_dfa_exec().

#define PUBLIC_EXEC_OPTIONS
Value:
(PCRE_ANCHORED|PCRE_NOTBOL|PCRE_NOTEOL|PCRE_NOTEMPTY|PCRE_NOTEMPTY_ATSTART| \
PCRE_NO_UTF8_CHECK|PCRE_PARTIAL_HARD|PCRE_PARTIAL_SOFT|PCRE_NEWLINE_BITS| \
PCRE_BSR_ANYCRLF|PCRE_BSR_UNICODE|PCRE_NO_START_OPTIMIZE)

Definition at line 1180 of file pcre_internal.h.

Referenced by pcre_exec().

#define PUBLIC_JIT_EXEC_OPTIONS
Value:
(PCRE_NO_UTF8_CHECK|PCRE_NOTBOL|PCRE_NOTEOL|PCRE_NOTEMPTY|\
PCRE_NOTEMPTY_ATSTART|PCRE_PARTIAL_SOFT|PCRE_PARTIAL_HARD)

Definition at line 1195 of file pcre_internal.h.

Referenced by pcre_exec().

#define PUBLIC_STUDY_OPTIONS
Value:
(PCRE_STUDY_JIT_COMPILE|PCRE_STUDY_JIT_PARTIAL_SOFT_COMPILE| \
PCRE_STUDY_JIT_PARTIAL_HARD_COMPILE|PCRE_STUDY_EXTRA_NEEDED)

Definition at line 1191 of file pcre_internal.h.

Referenced by pcre_study().

#define PUT2 (   a,
  n,
 
)
Value:
a[n] = (d) >> 8; \
a[(n)+1] = (d) & 255

Definition at line 539 of file pcre_internal.h.

#define PUT2INC (   a,
  n,
 
)    PUT2(a,n,d), a += IMM2_SIZE

Definition at line 574 of file pcre_internal.h.

#define PUTINC (   a,
  n,
 
)    PUT(a,n,d), a += LINK_SIZE

Definition at line 528 of file pcre_internal.h.

#define RAWUCHAR (   eptr)    (*(eptr))

Definition at line 603 of file pcre_internal.h.

#define RAWUCHARINC (   eptr)    (*(eptr)++)

Definition at line 604 of file pcre_internal.h.

#define RAWUCHARINCTEST (   eptr)    (*(eptr)++)

Definition at line 606 of file pcre_internal.h.

Referenced by pcre_dfa_exec(), and pcre_exec().

#define RAWUCHARTEST (   eptr)    (*(eptr))

Definition at line 605 of file pcre_internal.h.

Referenced by pcre_dfa_exec(), and pcre_exec().

#define REAL_PCRE_FLAGS (   re)    (((REAL_PCRE*)re)->flags)

Definition at line 2386 of file pcre_internal.h.

Referenced by main().

#define REAL_PCRE_MAGIC (   re)    (((REAL_PCRE*)re)->magic_number)

Definition at line 2383 of file pcre_internal.h.

Referenced by main().

#define REAL_PCRE_OPTIONS (   re)    (((REAL_PCRE*)re)->options)

Definition at line 2385 of file pcre_internal.h.

Referenced by main(), and regexec().

#define REAL_PCRE_SIZE (   re)    (((REAL_PCRE*)re)->size)

Definition at line 2384 of file pcre_internal.h.

Referenced by main().

#define REQ_BYTE_MAX   1000

Definition at line 1211 of file pcre_internal.h.

Referenced by pcre_dfa_exec(), and pcre_exec().

#define REVERSED_MAGIC_NUMBER   0x45524350UL /* 'ERCP' */
#define RREF_ANY   0xffff

Definition at line 2276 of file pcre_internal.h.

Referenced by pcre_printint().

#define STR_0   "0"

Definition at line 1429 of file pcre_internal.h.

#define STR_1   "1"

Definition at line 1430 of file pcre_internal.h.

#define STR_2   "2"

Definition at line 1431 of file pcre_internal.h.

#define STR_3   "3"

Definition at line 1432 of file pcre_internal.h.

#define STR_4   "4"

Definition at line 1433 of file pcre_internal.h.

#define STR_5   "5"

Definition at line 1434 of file pcre_internal.h.

#define STR_6   "6"

Definition at line 1435 of file pcre_internal.h.

#define STR_7   "7"

Definition at line 1436 of file pcre_internal.h.

#define STR_8   "8"

Definition at line 1437 of file pcre_internal.h.

#define STR_9   "9"

Definition at line 1438 of file pcre_internal.h.

#define STR_A   "A"

Definition at line 1446 of file pcre_internal.h.

#define STR_a   "a"

Definition at line 1478 of file pcre_internal.h.

#define STR_AMPERSAND   "&"

Definition at line 1419 of file pcre_internal.h.

#define STR_APOSTROPHE   "'"

Definition at line 1420 of file pcre_internal.h.

#define STR_ASTERISK   "*"

Definition at line 1423 of file pcre_internal.h.

#define STR_B   "B"

Definition at line 1447 of file pcre_internal.h.

#define STR_b   "b"

Definition at line 1479 of file pcre_internal.h.

#define STR_BACKSLASH   "\\"

Definition at line 1473 of file pcre_internal.h.

#define STR_BEL   "\a"

Definition at line 1411 of file pcre_internal.h.

#define STR_BS   "\b"

Definition at line 1410 of file pcre_internal.h.

#define STR_C   "C"

Definition at line 1448 of file pcre_internal.h.

#define STR_c   "c"

Definition at line 1480 of file pcre_internal.h.

#define STR_CIRCUMFLEX_ACCENT   "^"

Definition at line 1475 of file pcre_internal.h.

#define STR_COLON   ":"

Definition at line 1439 of file pcre_internal.h.

#define STR_COMMA   ","

Definition at line 1425 of file pcre_internal.h.

#define STR_COMMERCIAL_AT   "@"

Definition at line 1445 of file pcre_internal.h.

#define STR_CR   "\r"

Definition at line 1409 of file pcre_internal.h.

#define STR_D   "D"

Definition at line 1449 of file pcre_internal.h.

#define STR_d   "d"

Definition at line 1481 of file pcre_internal.h.

#define STR_DEL   "\177"

Definition at line 1296 of file pcre_internal.h.

#define STR_DOLLAR_SIGN   "$"

Definition at line 1417 of file pcre_internal.h.

#define STR_DOT   "."

Definition at line 1427 of file pcre_internal.h.

#define STR_E   "E"

Definition at line 1450 of file pcre_internal.h.

#define STR_e   "e"

Definition at line 1482 of file pcre_internal.h.

#define STR_EQUALS_SIGN   "="

Definition at line 1442 of file pcre_internal.h.

#define STR_ESC   "\033"

Definition at line 1295 of file pcre_internal.h.

#define STR_EXCLAMATION_MARK   "!"

Definition at line 1414 of file pcre_internal.h.

#define STR_F   "F"

Definition at line 1451 of file pcre_internal.h.

#define STR_f   "f"

Definition at line 1483 of file pcre_internal.h.

#define STR_FF   "\f"

Definition at line 1408 of file pcre_internal.h.

#define STR_G   "G"

Definition at line 1452 of file pcre_internal.h.

#define STR_g   "g"

Definition at line 1484 of file pcre_internal.h.

#define STR_GRAVE_ACCENT   "`"

Definition at line 1477 of file pcre_internal.h.

#define STR_GREATER_THAN_SIGN   ">"

Definition at line 1443 of file pcre_internal.h.

#define STR_H   "H"

Definition at line 1453 of file pcre_internal.h.

#define STR_h   "h"

Definition at line 1485 of file pcre_internal.h.

#define STR_HT   "\t"

Definition at line 1406 of file pcre_internal.h.

#define STR_I   "I"

Definition at line 1454 of file pcre_internal.h.

#define STR_i   "i"

Definition at line 1486 of file pcre_internal.h.

#define STR_J   "J"

Definition at line 1455 of file pcre_internal.h.

#define STR_j   "j"

Definition at line 1487 of file pcre_internal.h.

#define STR_K   "K"

Definition at line 1456 of file pcre_internal.h.

#define STR_k   "k"

Definition at line 1488 of file pcre_internal.h.

#define STR_L   "L"

Definition at line 1457 of file pcre_internal.h.

#define STR_l   "l"

Definition at line 1489 of file pcre_internal.h.

#define STR_LEFT_CURLY_BRACKET   "{"

Definition at line 1504 of file pcre_internal.h.

#define STR_LEFT_PARENTHESIS   "("

Definition at line 1421 of file pcre_internal.h.

#define STR_LEFT_SQUARE_BRACKET   "["

Definition at line 1472 of file pcre_internal.h.

#define STR_LESS_THAN_SIGN   "<"

Definition at line 1441 of file pcre_internal.h.

#define STR_LF   "\n"

Definition at line 1292 of file pcre_internal.h.

#define STR_M   "M"

Definition at line 1458 of file pcre_internal.h.

#define STR_m   "m"

Definition at line 1490 of file pcre_internal.h.

#define STR_MINUS   "-"

Definition at line 1426 of file pcre_internal.h.

#define STR_N   "N"

Definition at line 1459 of file pcre_internal.h.

#define STR_n   "n"

Definition at line 1491 of file pcre_internal.h.

#define STR_NEL   "\x85"

Definition at line 1294 of file pcre_internal.h.

#define STR_NL   STR_LF

Definition at line 1293 of file pcre_internal.h.

#define STR_NUMBER_SIGN   "#"

Definition at line 1416 of file pcre_internal.h.

#define STR_O   "O"

Definition at line 1460 of file pcre_internal.h.

#define STR_o   "o"

Definition at line 1492 of file pcre_internal.h.

#define STR_P   "P"

Definition at line 1461 of file pcre_internal.h.

#define STR_p   "p"

Definition at line 1493 of file pcre_internal.h.

#define STR_PERCENT_SIGN   "%"

Definition at line 1418 of file pcre_internal.h.

#define STR_PLUS   "+"

Definition at line 1424 of file pcre_internal.h.

#define STR_Q   "Q"

Definition at line 1462 of file pcre_internal.h.

#define STR_q   "q"

Definition at line 1494 of file pcre_internal.h.

#define STR_QUESTION_MARK   "?"

Definition at line 1444 of file pcre_internal.h.

#define STR_QUOTATION_MARK   "\""

Definition at line 1415 of file pcre_internal.h.

#define STR_R   "R"

Definition at line 1463 of file pcre_internal.h.

#define STR_r   "r"

Definition at line 1495 of file pcre_internal.h.

#define STR_RIGHT_CURLY_BRACKET   "}"

Definition at line 1506 of file pcre_internal.h.

#define STR_RIGHT_PARENTHESIS   ")"

Definition at line 1422 of file pcre_internal.h.

#define STR_RIGHT_SQUARE_BRACKET   "]"

Definition at line 1474 of file pcre_internal.h.

#define STR_S   "S"

Definition at line 1464 of file pcre_internal.h.

#define STR_s   "s"

Definition at line 1496 of file pcre_internal.h.

#define STR_SEMICOLON   ";"

Definition at line 1440 of file pcre_internal.h.

#define STR_SLASH   "/"

Definition at line 1428 of file pcre_internal.h.

#define STR_SPACE   " "

Definition at line 1413 of file pcre_internal.h.

#define STR_T   "T"

Definition at line 1465 of file pcre_internal.h.

#define STR_t   "t"

Definition at line 1497 of file pcre_internal.h.

#define STR_TILDE   "~"

Definition at line 1507 of file pcre_internal.h.

#define STR_U   "U"

Definition at line 1466 of file pcre_internal.h.

#define STR_u   "u"

Definition at line 1498 of file pcre_internal.h.

#define STR_UNDERSCORE   "_"

Definition at line 1476 of file pcre_internal.h.

#define STR_V   "V"

Definition at line 1467 of file pcre_internal.h.

#define STR_v   "v"

Definition at line 1499 of file pcre_internal.h.

#define STR_VERTICAL_LINE   "|"

Definition at line 1505 of file pcre_internal.h.

#define STR_VT   "\v"

Definition at line 1407 of file pcre_internal.h.

#define STR_W   "W"

Definition at line 1468 of file pcre_internal.h.

#define STR_w   "w"

Definition at line 1500 of file pcre_internal.h.

#define STR_X   "X"

Definition at line 1469 of file pcre_internal.h.

#define STR_x   "x"

Definition at line 1501 of file pcre_internal.h.

#define STR_Y   "Y"

Definition at line 1470 of file pcre_internal.h.

#define STR_y   "y"

Definition at line 1502 of file pcre_internal.h.

#define STR_Z   "Z"

Definition at line 1471 of file pcre_internal.h.

#define STR_z   "z"

Definition at line 1503 of file pcre_internal.h.

#define STRCMP_UC_C8 (   str1,
  str2 
)    strcmp((char *)(str1), (str2))

Definition at line 2662 of file pcre_internal.h.

#define STRCMP_UC_C8_TEST (   str1,
  str2 
)    STRCMP_UC_C8(str1, str2)

Definition at line 2697 of file pcre_internal.h.

#define STRCMP_UC_UC (   str1,
  str2 
)    strcmp((char *)(str1), (char *)(str2))

Definition at line 2660 of file pcre_internal.h.

Referenced by pcre_get_stringnumber(), and pcre_get_stringtable_entries().

#define STRCMP_UC_UC_TEST (   str1,
  str2 
)    STRCMP_UC_UC(str1, str2)

Definition at line 2696 of file pcre_internal.h.

#define STRING_ACCEPT0   "ACCEPT\0"

Definition at line 1509 of file pcre_internal.h.

#define STRING_alnum0   "alnum\0"

Definition at line 1521 of file pcre_internal.h.

#define STRING_alpha0   "alpha\0"

Definition at line 1518 of file pcre_internal.h.

#define STRING_ANY_RIGHTPAR   "ANY)"

Definition at line 1538 of file pcre_internal.h.

Referenced by pcre_compile2().

#define STRING_ANYCRLF_RIGHTPAR   "ANYCRLF)"

Definition at line 1539 of file pcre_internal.h.

Referenced by pcre_compile2().

#define STRING_ascii0   "ascii\0"

Definition at line 1522 of file pcre_internal.h.

#define STRING_blank0   "blank\0"

Definition at line 1523 of file pcre_internal.h.

#define STRING_BSR_ANYCRLF_RIGHTPAR   "BSR_ANYCRLF)"

Definition at line 1540 of file pcre_internal.h.

Referenced by pcre_compile2().

#define STRING_BSR_UNICODE_RIGHTPAR   "BSR_UNICODE)"

Definition at line 1541 of file pcre_internal.h.

Referenced by pcre_compile2().

#define STRING_cntrl0   "cntrl\0"

Definition at line 1524 of file pcre_internal.h.

#define STRING_COMMIT0   "COMMIT\0"

Definition at line 1510 of file pcre_internal.h.

#define STRING_CR_RIGHTPAR   "CR)"

Definition at line 1535 of file pcre_internal.h.

Referenced by pcre_compile2().

#define STRING_CRLF_RIGHTPAR   "CRLF)"

Definition at line 1537 of file pcre_internal.h.

Referenced by pcre_compile2().

#define STRING_DEFINE   "DEFINE"

Definition at line 1533 of file pcre_internal.h.

#define STRING_digit0   "digit\0"

Definition at line 1525 of file pcre_internal.h.

#define STRING_F0   "F\0"

Definition at line 1511 of file pcre_internal.h.

#define STRING_FAIL0   "FAIL\0"

Definition at line 1512 of file pcre_internal.h.

#define STRING_graph0   "graph\0"

Definition at line 1526 of file pcre_internal.h.

#define STRING_LF_RIGHTPAR   "LF)"

Definition at line 1536 of file pcre_internal.h.

Referenced by pcre_compile2().

#define STRING_LIMIT_MATCH_EQ   "LIMIT_MATCH="

Definition at line 1548 of file pcre_internal.h.

Referenced by pcre_compile2().

#define STRING_LIMIT_RECURSION_EQ   "LIMIT_RECURSION="

Definition at line 1549 of file pcre_internal.h.

Referenced by pcre_compile2().

#define STRING_lower0   "lower\0"

Definition at line 1519 of file pcre_internal.h.

#define STRING_MARK0   "MARK\0"

Definition at line 1513 of file pcre_internal.h.

#define STRING_NO_START_OPT_RIGHTPAR   "NO_START_OPT)"

Definition at line 1547 of file pcre_internal.h.

Referenced by pcre_compile2().

#define STRING_print0   "print\0"

Definition at line 1527 of file pcre_internal.h.

#define STRING_PRUNE0   "PRUNE\0"

Definition at line 1514 of file pcre_internal.h.

#define STRING_punct0   "punct\0"

Definition at line 1528 of file pcre_internal.h.

#define STRING_SKIP0   "SKIP\0"

Definition at line 1515 of file pcre_internal.h.

#define STRING_space0   "space\0"

Definition at line 1529 of file pcre_internal.h.

#define STRING_THEN   "THEN"

Definition at line 1516 of file pcre_internal.h.

#define STRING_UCP_RIGHTPAR   "UCP)"

Definition at line 1546 of file pcre_internal.h.

Referenced by pcre_compile2().

#define STRING_upper0   "upper\0"

Definition at line 1520 of file pcre_internal.h.

#define STRING_UTF16_RIGHTPAR   "UTF16)"

Definition at line 1543 of file pcre_internal.h.

Referenced by pcre_compile2().

#define STRING_UTF32_RIGHTPAR   "UTF32)"

Definition at line 1544 of file pcre_internal.h.

Referenced by pcre_compile2().

#define STRING_UTF8_RIGHTPAR   "UTF8)"

Definition at line 1542 of file pcre_internal.h.

Referenced by pcre_compile2().

#define STRING_UTF_RIGHTPAR   "UTF)"

Definition at line 1545 of file pcre_internal.h.

Referenced by pcre_compile2().

#define STRING_word0   "word\0"

Definition at line 1530 of file pcre_internal.h.

#define STRING_xdigit   "xdigit"

Definition at line 1531 of file pcre_internal.h.

#define STRLEN_UC (   str)    strlen((const char *)str)
#define STRNCMP_UC_C8 (   str1,
  str2,
  num 
)    strncmp((char *)(str1), (str2), (num))

Definition at line 2666 of file pcre_internal.h.

Referenced by pcre_compile2().

#define STRNCMP_UC_UC (   str1,
  str2,
  num 
)    strncmp((char *)(str1), (char *)(str2), (num))

Definition at line 2664 of file pcre_internal.h.

#define TABLE_GET (   c,
  table,
  default 
)    ((table)[c])

Definition at line 266 of file pcre_internal.h.

Referenced by pcre_dfa_exec(), and pcre_exec().

#define tables_length   (ctypes_offset + 256)

Definition at line 2588 of file pcre_internal.h.

Referenced by pcre_maketables().

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

Definition at line 1087 of file pcre_internal.h.

#define VSPACE_CASES
Value:
VSPACE_MULTIBYTE_CASES

Definition at line 1094 of file pcre_internal.h.

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

Definition at line 1080 of file pcre_internal.h.

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

Definition at line 1083 of file pcre_internal.h.

#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 && \
RAWUCHARTEST(p - NLBLOCK->nllen) == NLBLOCK->nl[0] && \
(NLBLOCK->nllen == 1 || RAWUCHARTEST(p - NLBLOCK->nllen + 1) == NLBLOCK->nl[1]) \
) \
)

Definition at line 326 of file pcre_internal.h.

Referenced by pcre_dfa_exec(), and pcre_exec().

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

Definition at line 1861 of file pcre_internal.h.

Referenced by pcre_printint(), and xclass().

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

Definition at line 1859 of file pcre_internal.h.

Referenced by pcre_pattern_to_host_byte_order(), pcre_printint(), and xclass().

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

Definition at line 1858 of file pcre_internal.h.

Referenced by pcre_printint(), and xclass().

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

Definition at line 1865 of file pcre_internal.h.

Referenced by pcre_printint().

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

Definition at line 1864 of file pcre_internal.h.

Referenced by pcre_printint(), and xclass().

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

Definition at line 1863 of file pcre_internal.h.

Referenced by pcre_printint(), and xclass().

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

Definition at line 1862 of file pcre_internal.h.

Referenced by xclass().

Typedef Documentation

typedef int __assert_real_pcre_size_divisible_8[(sizeof(REAL_PCRE)%8)==0?1:-1]

Definition at line 2377 of file pcre_internal.h.

typedef int BOOL

Definition at line 1217 of file pcre_internal.h.

typedef struct branch_chain branch_chain
typedef struct compile_data compile_data
typedef struct eptrblock eptrblock
typedef struct match_data match_data
typedef struct open_capitem open_capitem
typedef unsigned char pcre_uchar

Definition at line 263 of file pcre_internal.h.

typedef unsigned char pcre_uint8

Definition at line 194 of file pcre_internal.h.

typedef struct real_pcre8_or_16 real_pcre

Definition at line 2344 of file pcre_internal.h.

typedef struct real_pcre8_or_16 real_pcre16

Definition at line 2345 of file pcre_internal.h.

typedef struct real_pcre32 real_pcre32

Enumeration Type Documentation

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 
ESC_DU 
ESC_du 
ESC_SU 
ESC_su 
ESC_WU 
ESC_wu 

Definition at line 1887 of file pcre_internal.h.

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_CIRC 
OP_CIRCM 
OP_DOLL 
OP_DOLLM 
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_CLASS 
OP_NCLASS 
OP_XCLASS 
OP_REF 
OP_REFI 
OP_RECURSE 
OP_CALLOUT 
OP_ALT 
OP_KET 
OP_KETRMAX 
OP_KETRMIN 
OP_KETRPOS 
OP_REVERSE 
OP_ASSERT 
OP_ASSERT_NOT 
OP_ASSERTBACK 
OP_ASSERTBACK_NOT 
OP_ONCE 
OP_ONCE_NC 
OP_BRA 
OP_BRAPOS 
OP_CBRA 
OP_CBRAPOS 
OP_COND 
OP_SBRA 
OP_SBRAPOS 
OP_SCBRA 
OP_SCBRAPOS 
OP_SCOND 
OP_CREF 
OP_NCREF 
OP_RREF 
OP_NRREF 
OP_DEF 
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_FAIL 
OP_ACCEPT 
OP_ASSERT_ACCEPT 
OP_CLOSE 
OP_SKIPZERO 
OP_TABLE_LENGTH 

Definition at line 1900 of file pcre_internal.h.

anonymous enum
Enumerator
ERR0 
ERR1 
ERR2 
ERR3 
ERR4 
ERR5 
ERR6 
ERR7 
ERR8 
ERR9 
ERR10 
ERR11 
ERR12 
ERR13 
ERR14 
ERR15 
ERR16 
ERR17 
ERR18 
ERR19 
ERR20 
ERR21 
ERR22 
ERR23 
ERR24 
ERR25 
ERR26 
ERR27 
ERR28 
ERR29 
ERR30 
ERR31 
ERR32 
ERR33 
ERR34 
ERR35 
ERR36 
ERR37 
ERR38 
ERR39 
ERR40 
ERR41 
ERR42 
ERR43 
ERR44 
ERR45 
ERR46 
ERR47 
ERR48 
ERR49 
ERR50 
ERR51 
ERR52 
ERR53 
ERR54 
ERR55 
ERR56 
ERR57 
ERR58 
ERR59 
ERR60 
ERR61 
ERR62 
ERR63 
ERR64 
ERR65 
ERR66 
ERR67 
ERR68 
ERR69 
ERR70 
ERR71 
ERR72 
ERR73 
ERR74 
ERR75 
ERR76 
ERR77 
ERR78 
ERRCOUNT 

Definition at line 2282 of file pcre_internal.h.

anonymous enum
Enumerator
JIT_COMPILE 
JIT_PARTIAL_SOFT_COMPILE 
JIT_PARTIAL_HARD_COMPILE 
JIT_NUMBER_OF_COMPILE_MODES 

Definition at line 2292 of file pcre_internal.h.

Function Documentation

BOOL PRIV() is_newline ( PCRE_PUCHAR  ,
int  ,
PCRE_PUCHAR  ,
int *  ,
BOOL   
)

Definition at line 76 of file pcre_newline.c.

References CHAR_CR, CHAR_FF, CHAR_LF, CHAR_NEL, CHAR_VT, FALSE, GETCHAR, NLTYPE_ANYCRLF, and TRUE.

unsigned int PRIV() ord2utf ( pcre_uint32  ,
pcre_uchar  
)

Definition at line 68 of file pcre16_ord2utf16.c.

References PRIV.

const int PRIV ( utf8_table1  )
const int PRIV ( utf8_table1_size  )
const int PRIV ( utf8_table2  )
const int PRIV ( utf8_table3  )
const pcre_uint8 PRIV ( utf8_table4  )
const char PRIV ( utt_names  )
const ucp_type_table PRIV ( utt  )
const int PRIV ( utt_size  )
const pcre_uint8 PRIV ( OP_lengths  )
const pcre_uint8 PRIV ( default_tables  )
const pcre_uint32 PRIV ( hspace_list  )
const pcre_uint32 PRIV ( vspace_list  )
const pcre_uint32 PRIV ( ucd_caseless_sets  )
const ucd_record PRIV ( ucd_records  )
const pcre_uint8 PRIV ( ucd_stage1  )
const pcre_uint16 PRIV ( ucd_stage2  )
const pcre_uint32 PRIV ( ucp_gentype  )
const pcre_uint32 PRIV ( ucp_gbtable  )
int PRIV() valid_utf ( PCRE_PUCHAR  ,
int  ,
int *   
)

Definition at line 84 of file pcre16_valid_utf16.c.

References PCRE_PUCHAR, PRIV, and utf8_table4.

Referenced by pcre_compile2(), pcre_dfa_exec(), and pcre_exec().

BOOL PRIV() was_newline ( PCRE_PUCHAR  ,
int  ,
PCRE_PUCHAR  ,
int *  ,
BOOL   
)

Definition at line 151 of file pcre_newline.c.

References CHAR_CR, CHAR_FF, CHAR_LF, CHAR_NEL, CHAR_VT, FALSE, GETCHAR, NLTYPE_ANYCRLF, and TRUE.