pcre_compile.c File Reference

#include "pcre_internal.h"

Go to the source code of this file.

Classes

struct  verbitem

Defines

#define NLBLOCK   cd
#define PSSTART   start_pattern
#define PSEND   end_pattern
#define SETBIT(a, b)   a[b/8] |= (1 << (b%8))
#define OFLOW_MAX   (INT_MAX - 20)
#define COMPILE_WORK_SIZE   (4096)
#define STRING(a)   # a
#define XSTRING(s)   STRING(s)

Functions

static BOOL compile_regex (int, int, uschar **, const uschar **, int *, BOOL, BOOL, int, int *, int *, branch_chain *, compile_data *, int *)
static const char * find_error_text (int n)
static int check_escape (const uschar **ptrptr, int *errorcodeptr, int bracount, int options, BOOL isclass)
static BOOL is_counted_repeat (const uschar *p)
static const uscharread_repeat_counts (const uschar *p, int *minp, int *maxp, int *errorcodeptr)
static int find_parens (const uschar *ptr, compile_data *cd, const uschar *name, int lorn, BOOL xmode)
static const uscharfirst_significant_code (const uschar *code, int *options, int optbit, BOOL skipassert)
static int find_fixedlength (uschar *code, int options)
static const uscharfind_bracket (const uschar *code, BOOL utf8, int number)
static const uscharfind_recurse (const uschar *code, BOOL utf8)
static BOOL could_be_empty_branch (const uschar *code, const uschar *endcode, BOOL utf8)
static BOOL could_be_empty (const uschar *code, const uschar *endcode, branch_chain *bcptr, BOOL utf8)
static BOOL check_posix_syntax (const uschar *ptr, const uschar **endptr)
static int check_posix_name (const uschar *ptr, int len)
static void adjust_recurse (uschar *group, int adjust, BOOL utf8, compile_data *cd, uschar *save_hwm)
static uscharauto_callout (uschar *code, const uschar *ptr, compile_data *cd)
static void complete_callout (uschar *previous_callout, const uschar *ptr, compile_data *cd)
static BOOL check_auto_possessive (int op_code, int item, BOOL utf8, uschar *utf8_char, const uschar *ptr, int options, compile_data *cd)
static BOOL compile_branch (int *optionsptr, uschar **codeptr, const uschar **ptrptr, int *errorcodeptr, int *firstbyteptr, int *reqbyteptr, branch_chain *bcptr, compile_data *cd, int *lengthptr)
static BOOL is_anchored (register const uschar *code, int *options, unsigned int bracket_map, unsigned int backref_map)
static BOOL is_startline (const uschar *code, unsigned int bracket_map, unsigned int backref_map)
static int find_firstassertedchar (const uschar *code, int *options, BOOL inassert)
PCRE_EXP_DEFN pcre *PCRE_CALL_CONVENTION pcre_compile (const char *pattern, int options, const char **errorptr, int *erroroffset, const unsigned char *tables)
PCRE_EXP_DEFN pcre *PCRE_CALL_CONVENTION pcre_compile2 (const char *pattern, int options, int *errorcodeptr, const char **errorptr, int *erroroffset, const unsigned char *tables)

Variables

static const short int escapes []
static const char verbnames []
static const verbitem verbs []
static const int verbcount = sizeof(verbs)/sizeof(verbitem)
static const char posix_names []
static const uschar posix_name_lengths []
static const int posix_class_maps []
static const char error_texts []
static const unsigned char digitab []


Define Documentation

#define COMPILE_WORK_SIZE   (4096)

Definition at line 92 of file pcre_compile.c.

Referenced by compile_branch(), and pcre_compile2().

#define NLBLOCK   cd

Definition at line 49 of file pcre_compile.c.

#define OFLOW_MAX   (INT_MAX - 20)

Definition at line 73 of file pcre_compile.c.

Referenced by compile_branch(), and compile_regex().

#define PSEND   end_pattern

Definition at line 51 of file pcre_compile.c.

#define PSSTART   start_pattern

Definition at line 50 of file pcre_compile.c.

#define SETBIT ( a,
b   )     a[b/8] |= (1 << (b%8))

Definition at line 66 of file pcre_compile.c.

#define STRING (  )     # a

Definition at line 216 of file pcre_compile.c.

#define XSTRING ( s   )     STRING(s)

Definition at line 217 of file pcre_compile.c.

Referenced by pcre_version().


Function Documentation

static void adjust_recurse ( uschar group,
int  adjust,
BOOL  utf8,
compile_data cd,
uschar save_hwm 
) [static]

Definition at line 1906 of file pcre_compile.c.

References cd(), find_recurse(), LINK_SIZE, and NULL.

Referenced by compile_branch().

static uschar* auto_callout ( uschar code,
const uschar ptr,
compile_data cd 
) [static]

Definition at line 1960 of file pcre_compile.c.

References cd(), LINK_SIZE, and OP_CALLOUT.

Referenced by compile_branch().

static BOOL check_auto_possessive ( int  op_code,
int  item,
BOOL  utf8,
uschar utf8_char,
const uschar ptr,
int  options,
compile_data cd 
) [static]

Definition at line 2065 of file pcre_compile.c.

References cd(), check_escape(), ctype_digit, ctype_meta, ctype_space, ctype_word, FALSE, GETCHAR, GETCHARINC, if(), IS_NEWLINE, NOTACHAR, OP_CHAR, OP_CHARNC, OP_DIGIT, OP_HSPACE, OP_NOT, OP_NOT_DIGIT, OP_NOT_HSPACE, OP_NOT_VSPACE, OP_NOT_WHITESPACE, OP_NOT_WORDCHAR, OP_VSPACE, OP_WHITESPACE, OP_WORDCHAR, PCRE_CASELESS, PCRE_EXTENDED, TRUE, UCD_OTHERCASE, void, x09, and x20.

Referenced by compile_branch().

static int check_escape ( const uschar **  ptrptr,
int *  errorcodeptr,
int  bracount,
int  options,
BOOL  isclass 
) [static]

Definition at line 488 of file pcre_compile.c.

References c, ctype_digit, ctype_xdigit, ERR1, ERR15, ERR2, ERR3, ERR34, ERR37, ERR51, ERR57, ERR58, ERR61, ESC_g, ESC_k, ESC_REF, escapes, FALSE, GETCHARINCTEST, i, p, PCRE_EXTRA, PCRE_UTF8, ptr, TRUE, and utf8.

Referenced by check_auto_possessive(), and compile_branch().

static int check_posix_name ( const uschar ptr,
int  len 
) [static]

Definition at line 1859 of file pcre_compile.c.

Referenced by compile_branch().

static BOOL check_posix_syntax ( const uschar ptr,
const uschar **  endptr 
) [static]

Definition at line 1822 of file pcre_compile.c.

References FALSE, and TRUE.

Referenced by compile_branch().

static BOOL compile_branch ( int *  optionsptr,
uschar **  codeptr,
const uschar **  ptrptr,
int *  errorcodeptr,
int *  firstbyteptr,
int *  reqbyteptr,
branch_chain bcptr,
compile_data cd,
int *  lengthptr 
) [static]

Definition at line 2404 of file pcre_compile.c.

References _pcre_OP_lengths, _pcre_ord2utf8(), adjust_recurse(), auto_callout(), cbit_digit, cbit_space, cbit_word, cd(), check_auto_possessive(), check_escape(), check_posix_name(), check_posix_syntax(), COMPILE_WORK_SIZE, complete_callout(), could_be_empty(), could_be_empty_branch(), ctype_digit, ctype_letter, ctype_space, ctype_word, DPRINTF, ERR11, ERR12, ERR13, ERR15, ERR18, ERR20, ERR24, ERR26, ERR28, ERR29, ERR30, ERR31, ERR35, ERR38, ERR39, ERR40, ERR41, ERR42, ERR43, ERR48, ERR49, ERR52, ERR55, ERR58, ERR59, ERR6, ERR60, ERR62, ERR63, ERR64, ERR7, ERR8, ERR9, ESC_b, ESC_D, ESC_d, ESC_E, ESC_H, ESC_h, ESC_P, ESC_p, ESC_Q, ESC_R, ESC_S, ESC_s, ESC_V, ESC_v, ESC_W, ESC_w, ESC_X, FALSE, find_bracket(), find_parens(), GET2, GETCHARLEN, if(), is_counted_repeat(), IS_NEWLINE, len, verbitem::len, LINK_SIZE, MAX_NAME_COUNT, MAX_NAME_SIZE, memmove, NULL, OFLOW_MAX, OP_ACCEPT, OP_ALLANY, OP_ALT, OP_ANY, OP_ASSERT, OP_ASSERT_NOT, OP_ASSERTBACK, OP_ASSERTBACK_NOT, OP_BRA, OP_BRAZERO, OP_CALLOUT, OP_CBRA, OP_CHAR, OP_CHARNC, OP_CIRC, OP_CLASS, OP_COND, OP_CREF, OP_CRPLUS, OP_CRQUERY, OP_CRRANGE, OP_CRSTAR, OP_DEF, OP_DOLL, OP_END, OP_EODN, OP_EXACT, OP_FAIL, OP_KET, OP_KETRMAX, OP_NCLASS, OP_NOT, OP_NOTEXACT, OP_NOTPLUS, OP_NOTPOSPLUS, OP_NOTPOSQUERY, OP_NOTPOSSTAR, OP_NOTPOSUPTO, OP_NOTPROP, OP_NOTQUERY, OP_NOTSTAR, OP_NOTUPTO, OP_ONCE, OP_OPT, OP_PLUS, OP_POSPLUS, OP_POSQUERY, OP_POSSTAR, OP_POSUPTO, OP_PROP, OP_QUERY, OP_RECURSE, OP_REF, OP_RREF, OP_SBRA, OP_SKIPZERO, OP_STAR, OP_TYPEEXACT, OP_TYPEPLUS, OP_TYPEPOSPLUS, OP_TYPEPOSQUERY, OP_TYPEPOSSTAR, OP_TYPEPOSUPTO, OP_TYPEQUERY, OP_TYPESTAR, OP_TYPEUPTO, OP_UPTO, OP_XCLASS, PCRE_AUTO_CALLOUT, PCRE_CASELESS, PCRE_DOTALL, PCRE_DUPNAMES, PCRE_EXTENDED, PCRE_EXTRA, PCRE_HASCRORLF, PCRE_IMS, PCRE_JAVASCRIPT_COMPAT, PCRE_JCHANGED, PCRE_MULTILINE, PCRE_NOPARTIAL, PCRE_UNGREEDY, PCRE_UTF8, PUT2, PUT2INC, PUTINC, read_repeat_counts(), REPEAT, REQ_CASELESS, REQ_NONE, REQ_UNSET, REQ_VARY, RREF_ANY, SETBIT, TRUE, UCD_OTHERCASE, utf8, verbcount, verbnames, verbs, x, x09, x20, x24, x80, XCL_END, XCL_MAP, XCL_NOT, XCL_NOTPROP, XCL_PROP, XCL_RANGE, and XCL_SINGLE.

Referenced by compile_regex().

static BOOL compile_regex ( int  ,
int  ,
uschar **  ,
const uschar **  ,
int *  ,
BOOL  ,
BOOL  ,
int  ,
int *  ,
int *  ,
branch_chain ,
compile_data ,
int *   
) [static]

Definition at line 5452 of file pcre_compile.c.

References cd(), compile_branch(), branch_chain::current, DPRINTF, ERR20, ERR25, ERR36, FALSE, find_fixedlength(), if(), length, LINK_SIZE, NULL, OFLOW_MAX, OP_ALT, OP_END, OP_KET, OP_OPT, OP_REVERSE, branch_chain::outer, PUTINC, REQ_NONE, REQ_UNSET, REQ_VARY, and TRUE.

Referenced by pcre_compile2().

static void complete_callout ( uschar previous_callout,
const uschar ptr,
compile_data cd 
) [static]

Definition at line 1988 of file pcre_compile.c.

References cd(), length, and LINK_SIZE.

Referenced by compile_branch().

static BOOL could_be_empty ( const uschar code,
const uschar endcode,
branch_chain bcptr,
BOOL  utf8 
) [static]

Definition at line 1777 of file pcre_compile.c.

References could_be_empty_branch(), branch_chain::current, FALSE, NULL, branch_chain::outer, and TRUE.

Referenced by compile_branch().

static BOOL could_be_empty_branch ( const uschar code,
const uschar endcode,
BOOL  utf8 
) [static]

Definition at line 1578 of file pcre_compile.c.

References _pcre_OP_lengths, FALSE, first_significant_code(), GET2, NULL, OP_ALLANY, OP_ALT, OP_ANY, OP_ANYBYTE, OP_ASSERT, OP_BRA, OP_BRAMINZERO, OP_BRAZERO, OP_CBRA, OP_CHAR, OP_CHARNC, OP_CLASS, OP_COND, OP_CRMINPLUS, OP_CRMINQUERY, OP_CRMINRANGE, OP_CRMINSTAR, OP_CRPLUS, OP_CRQUERY, OP_CRRANGE, OP_CRSTAR, OP_DIGIT, OP_EXACT, OP_EXTUNI, OP_KET, OP_KETRMAX, OP_KETRMIN, OP_MINPLUS, OP_MINQUERY, OP_MINSTAR, OP_MINUPTO, OP_NCLASS, OP_NOT, OP_NOT_DIGIT, OP_NOT_WHITESPACE, OP_NOT_WORDCHAR, OP_NOTEXACT, OP_NOTMINPLUS, OP_NOTPLUS, OP_NOTPOSPLUS, OP_NOTPROP, OP_ONCE, OP_PLUS, OP_POSPLUS, OP_POSQUERY, OP_POSSTAR, OP_POSUPTO, OP_PROP, OP_QUERY, OP_SKIPZERO, OP_STAR, OP_TYPEEXACT, OP_TYPEMINPLUS, OP_TYPEMINQUERY, OP_TYPEMINSTAR, OP_TYPEMINUPTO, OP_TYPEPLUS, OP_TYPEPOSPLUS, OP_TYPEPOSQUERY, OP_TYPEPOSSTAR, OP_TYPEPOSUPTO, OP_TYPEQUERY, OP_TYPESTAR, OP_TYPEUPTO, OP_UPTO, OP_WHITESPACE, OP_WORDCHAR, OP_XCLASS, TRUE, and x80.

Referenced by compile_branch(), and could_be_empty().

static const uschar* find_bracket ( const uschar code,
BOOL  utf8,
int  number 
) [static]

Definition at line 1374 of file pcre_compile.c.

References _pcre_OP_lengths, _pcre_utf8_table4, GET2, LINK_SIZE, NULL, OP_CBRA, OP_CHAR, OP_CHARNC, OP_END, OP_EXACT, OP_MINPLUS, OP_MINQUERY, OP_MINSTAR, OP_MINUPTO, OP_NOTPROP, OP_PLUS, OP_POSPLUS, OP_POSQUERY, OP_POSSTAR, OP_POSUPTO, OP_PROP, OP_QUERY, OP_STAR, OP_TYPEEXACT, OP_TYPEMINPLUS, OP_TYPEMINQUERY, OP_TYPEMINSTAR, OP_TYPEMINUPTO, OP_TYPEPLUS, OP_TYPEPOSPLUS, OP_TYPEPOSQUERY, OP_TYPEPOSSTAR, OP_TYPEPOSUPTO, OP_TYPEQUERY, OP_TYPESTAR, OP_TYPEUPTO, OP_UPTO, OP_XCLASS, and void.

Referenced by compile_branch(), and pcre_compile2().

static const char* find_error_text ( int  n  )  [static]

Definition at line 455 of file pcre_compile.c.

References s.

Referenced by pcre_compile2().

static int find_firstassertedchar ( const uschar code,
int *  options,
BOOL  inassert 
) [static]

Definition at line 5878 of file pcre_compile.c.

References first_significant_code(), LINK_SIZE, OP_ALT, OP_ASSERT, OP_BRA, OP_CBRA, OP_CHAR, OP_CHARNC, OP_COND, OP_EXACT, OP_MINPLUS, OP_ONCE, OP_PLUS, OP_POSPLUS, PCRE_CASELESS, REQ_CASELESS, and TRUE.

Referenced by pcre_compile2().

static int find_fixedlength ( uschar code,
int  options 
) [static]

Definition at line 1184 of file pcre_compile.c.

References _pcre_OP_lengths, d, GET2, length, LINK_SIZE, OP_ALLANY, OP_ALT, OP_ANY, OP_ANYBYTE, OP_ASSERT, OP_ASSERT_NOT, OP_ASSERTBACK, OP_ASSERTBACK_NOT, OP_BRA, OP_CALLOUT, OP_CBRA, OP_CHAR, OP_CHARNC, OP_CIRC, OP_CLASS, OP_COND, OP_CREF, OP_CRMINQUERY, OP_CRMINRANGE, OP_CRMINSTAR, OP_CRQUERY, OP_CRRANGE, OP_CRSTAR, OP_DEF, OP_DIGIT, OP_DOLL, OP_END, OP_EOD, OP_EODN, OP_EXACT, OP_KET, OP_KETRMAX, OP_KETRMIN, OP_NCLASS, OP_NOT, OP_NOT_DIGIT, OP_NOT_WHITESPACE, OP_NOT_WORD_BOUNDARY, OP_NOT_WORDCHAR, OP_NOTPROP, OP_ONCE, OP_OPT, OP_PROP, OP_REVERSE, OP_RREF, OP_SOD, OP_SOM, OP_TYPEEXACT, OP_WHITESPACE, OP_WORD_BOUNDARY, OP_WORDCHAR, OP_XCLASS, PCRE_UTF8, and x80.

Referenced by compile_regex().

static int find_parens ( const uschar ptr,
compile_data cd,
const uschar name,
int  lorn,
BOOL  xmode 
) [static]

Definition at line 988 of file pcre_compile.c.

References cd(), FALSE, NULL, PCRE_JAVASCRIPT_COMPAT, and TRUE.

Referenced by compile_branch().

static const uschar* find_recurse ( const uschar code,
BOOL  utf8 
) [static]

Definition at line 1477 of file pcre_compile.c.

References _pcre_OP_lengths, _pcre_utf8_table4, NULL, OP_CHAR, OP_CHARNC, OP_END, OP_EXACT, OP_MINPLUS, OP_MINQUERY, OP_MINSTAR, OP_MINUPTO, OP_NOTPROP, OP_PLUS, OP_POSPLUS, OP_POSQUERY, OP_POSSTAR, OP_POSUPTO, OP_PROP, OP_QUERY, OP_RECURSE, OP_STAR, OP_TYPEEXACT, OP_TYPEMINPLUS, OP_TYPEMINQUERY, OP_TYPEMINSTAR, OP_TYPEMINUPTO, OP_TYPEPLUS, OP_TYPEPOSPLUS, OP_TYPEPOSQUERY, OP_TYPEPOSSTAR, OP_TYPEPOSUPTO, OP_TYPEQUERY, OP_TYPESTAR, OP_TYPEUPTO, OP_UPTO, OP_XCLASS, and void.

Referenced by adjust_recurse().

static const uschar* first_significant_code ( const uschar code,
int *  options,
int  optbit,
BOOL  skipassert 
) [static]

Definition at line 1124 of file pcre_compile.c.

References _pcre_OP_lengths, OP_ALT, OP_ASSERT_NOT, OP_ASSERTBACK, OP_ASSERTBACK_NOT, OP_CALLOUT, OP_CREF, OP_DEF, OP_NOT_WORD_BOUNDARY, OP_OPT, OP_RREF, and OP_WORD_BOUNDARY.

Referenced by could_be_empty_branch(), find_firstassertedchar(), is_anchored(), and is_startline().

static BOOL is_anchored ( register const uschar code,
int *  options,
unsigned int  bracket_map,
unsigned int  backref_map 
) [static]

Definition at line 5730 of file pcre_compile.c.

References _pcre_OP_lengths, FALSE, first_significant_code(), GET2, LINK_SIZE, OP_ALLANY, OP_ALT, OP_ASSERT, OP_BRA, OP_CBRA, OP_CIRC, OP_COND, OP_ONCE, OP_SOD, OP_SOM, OP_TYPEMINSTAR, OP_TYPEPOSSTAR, OP_TYPESTAR, PCRE_MULTILINE, and TRUE.

Referenced by pcre_compile2().

static BOOL is_counted_repeat ( const uschar p  )  [static]

Definition at line 882 of file pcre_compile.c.

References ctype_digit, FALSE, and TRUE.

Referenced by compile_branch().

static BOOL is_startline ( const uschar code,
unsigned int  bracket_map,
unsigned int  backref_map 
) [static]

Definition at line 5806 of file pcre_compile.c.

References _pcre_OP_lengths, FALSE, first_significant_code(), GET2, LINK_SIZE, NULL, OP_ALT, OP_ANY, OP_ASSERT, OP_BRA, OP_CBRA, OP_CIRC, OP_COND, OP_ONCE, OP_TYPEMINSTAR, OP_TYPEPOSSTAR, OP_TYPESTAR, and TRUE.

Referenced by pcre_compile2().

PCRE_EXP_DEFN pcre* PCRE_CALL_CONVENTION pcre_compile ( const char *  pattern,
int  options,
const char **  errorptr,
int *  erroroffset,
const unsigned char *  tables 
)

Definition at line 5951 of file pcre_compile.c.

References NULL, and pcre_compile2().

PCRE_EXP_DEFN pcre* PCRE_CALL_CONVENTION pcre_compile2 ( const char *  pattern,
int  options,
int *  errorcodeptr,
const char **  errorptr,
int *  erroroffset,
const unsigned char *  tables 
)

Definition at line 5959 of file pcre_compile.c.

References _pcre_default_tables, _pcre_valid_utf8(), cbits_offset, cd(), compile_regex(), COMPILE_WORK_SIZE, ctypes_offset, DPRINTF, real_pcre::dummy1, ERR0, ERR15, ERR16, ERR17, ERR20, ERR21, ERR22, ERR23, ERR32, ERR44, ERR53, ERR56, FALSE, fcc_offset, find_bracket(), find_error_text(), find_firstassertedchar(), real_pcre::first_byte, real_pcre::flags, is_anchored(), is_startline(), lcc_offset, length, LINK_SIZE, MAGIC_NUMBER, real_pcre::magic_number, real_pcre::name_count, real_pcre::name_entry_size, real_pcre::name_table_offset, NEWLINE, newline, NLTYPE_ANY, NLTYPE_ANYCRLF, NLTYPE_FIXED, NULL, real_pcre::nullpad, OP_BRA, OP_END, real_pcre::options, PCRE_ANCHORED, PCRE_BSR_ANYCRLF, PCRE_BSR_UNICODE, PCRE_FIRSTSET, pcre_free, pcre_malloc, PCRE_NEWLINE_ANY, PCRE_NEWLINE_ANYCRLF, PCRE_NEWLINE_BITS, PCRE_NEWLINE_CR, PCRE_NEWLINE_LF, PCRE_NO_UTF8_CHECK, PCRE_REQCHSET, PCRE_STARTLINE, PCRE_UTF8, PUBLIC_OPTIONS, real_pcre::ref_count, real_pcre::req_byte, REQ_CASELESS, REQ_VARY, real_pcre::size, size, size_t, real_pcre::tables, real_pcre::top_backref, real_pcre::top_bracket, TRUE, utf8, and void.

static const uschar* read_repeat_counts ( const uschar p,
int *  minp,
int *  maxp,
int *  errorcodeptr 
) [static]

Definition at line 919 of file pcre_compile.c.

References ctype_digit, ERR4, ERR5, max, and min.

Referenced by compile_branch().


Variable Documentation

const unsigned char digitab[] [static]

Definition at line 326 of file pcre_compile.c.

const char error_texts[] [static]

Definition at line 229 of file pcre_compile.c.

const short int escapes[] [static]

Initial value:

 {
     0,      0,      0,      0,      0,      0,      0,      0,   
     0,      0,    ':',    ';',    '<',    '=',    '>',    '?',   
   '@', -ESC_A, -ESC_B, -ESC_C, -ESC_D, -ESC_E,      0, -ESC_G,   
-ESC_H,      0,      0, -ESC_K,      0,      0,      0,      0,   
-ESC_P, -ESC_Q, -ESC_R, -ESC_S,      0,      0, -ESC_V, -ESC_W,   
-ESC_X,      0, -ESC_Z,    '[',   '\\',    ']',    '^',    '_',   
   '`',      7, -ESC_b,      0, -ESC_d,  ESC_e,  ESC_f,      0,   
-ESC_h,      0,      0, -ESC_k,      0,      0,  ESC_n,      0,   
-ESC_p,      0,  ESC_r, -ESC_s,  ESC_tee,    0, -ESC_v, -ESC_w,   
     0,      0, -ESC_z                                            
}

Definition at line 101 of file pcre_compile.c.

Referenced by check_escape().

const int posix_class_maps[] [static]

Initial value:

 {
  cbit_word,  cbit_digit, -2,             
  cbit_lower, -1,          0,             
  cbit_upper, -1,          0,             
  cbit_word,  -1,          2,             
  cbit_print, cbit_cntrl,  0,             
  cbit_space, -1,          1,             
  cbit_cntrl, -1,          0,             
  cbit_digit, -1,          0,             
  cbit_graph, -1,          0,             
  cbit_print, -1,          0,             
  cbit_punct, -1,          0,             
  cbit_space, -1,          0,             
  cbit_word,  -1,          0,             
  cbit_xdigit,-1,          0              
}

Definition at line 198 of file pcre_compile.c.

const uschar posix_name_lengths[] [static]

Initial value:

 {
  5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 4, 6, 0 }

Definition at line 185 of file pcre_compile.c.

const char posix_names[] [static]

Initial value:

  "alpha\0"  "lower\0"  "upper\0"  "alnum\0"  "ascii\0"  "blank\0"
  "cntrl\0"  "digit\0"  "graph\0"  "print\0"  "punct\0"  "space\0"
  "word\0"   "xdigit"

Definition at line 180 of file pcre_compile.c.

const int verbcount = sizeof(verbs)/sizeof(verbitem) [static]

Definition at line 171 of file pcre_compile.c.

Referenced by compile_branch().

const char verbnames[] [static]

Initial value:

  "ACCEPT\0"
  "COMMIT\0"
  "F\0"
  "FAIL\0"
  "PRUNE\0"
  "SKIP\0"
  "THEN"

Definition at line 152 of file pcre_compile.c.

Referenced by compile_branch().

const verbitem verbs[] [static]

Initial value:

 {
  { 6, OP_ACCEPT },
  { 6, OP_COMMIT },
  { 1, OP_FAIL },
  { 4, OP_FAIL },
  { 5, OP_PRUNE },
  { 4, OP_SKIP  },
  { 4, OP_THEN  }
}

Definition at line 161 of file pcre_compile.c.

Referenced by compile_branch().


Generated on Tue Jul 5 15:57:28 2011 for ROOT_528-00b_version by  doxygen 1.5.1