/[pcre]/code/trunk/pcre_internal.h
ViewVC logotype

Diff of /code/trunk/pcre_internal.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 230 by ph10, Mon Sep 10 13:23:56 2007 UTC revision 269 by ph10, Fri Nov 16 16:22:24 2007 UTC
# Line 481  Standard C system should have one. */ Line 481  Standard C system should have one. */
481    
482  #define PCRE_IMS (PCRE_CASELESS|PCRE_MULTILINE|PCRE_DOTALL)  #define PCRE_IMS (PCRE_CASELESS|PCRE_MULTILINE|PCRE_DOTALL)
483    
484  /* Private flags containing information about the compiled regex. They used to  /* Private flags containing information about the compiled regex. They used to
485  live at the top end of the options word, but that got almost full, so now they  live at the top end of the options word, but that got almost full, so now they
486  are in a 16-bit flags word. */  are in a 16-bit flags word. */
487    
488  #define PCRE_NOPARTIAL     0x0001  /* can't use partial with this regex */  #define PCRE_NOPARTIAL     0x0001  /* can't use partial with this regex */
# Line 506  time, run time, or study time, respectiv Line 506  time, run time, or study time, respectiv
506    (PCRE_CASELESS|PCRE_EXTENDED|PCRE_ANCHORED|PCRE_MULTILINE| \    (PCRE_CASELESS|PCRE_EXTENDED|PCRE_ANCHORED|PCRE_MULTILINE| \
507     PCRE_DOTALL|PCRE_DOLLAR_ENDONLY|PCRE_EXTRA|PCRE_UNGREEDY|PCRE_UTF8| \     PCRE_DOTALL|PCRE_DOLLAR_ENDONLY|PCRE_EXTRA|PCRE_UNGREEDY|PCRE_UTF8| \
508     PCRE_NO_AUTO_CAPTURE|PCRE_NO_UTF8_CHECK|PCRE_AUTO_CALLOUT|PCRE_FIRSTLINE| \     PCRE_NO_AUTO_CAPTURE|PCRE_NO_UTF8_CHECK|PCRE_AUTO_CALLOUT|PCRE_FIRSTLINE| \
509     PCRE_DUPNAMES|PCRE_NEWLINE_BITS)     PCRE_DUPNAMES|PCRE_NEWLINE_BITS|PCRE_BSR_ANYCRLF|PCRE_BSR_UNICODE)
510    
511  #define PUBLIC_EXEC_OPTIONS \  #define PUBLIC_EXEC_OPTIONS \
512    (PCRE_ANCHORED|PCRE_NOTBOL|PCRE_NOTEOL|PCRE_NOTEMPTY|PCRE_NO_UTF8_CHECK| \    (PCRE_ANCHORED|PCRE_NOTBOL|PCRE_NOTEOL|PCRE_NOTEMPTY|PCRE_NO_UTF8_CHECK| \
513     PCRE_PARTIAL|PCRE_NEWLINE_BITS)     PCRE_PARTIAL|PCRE_NEWLINE_BITS|PCRE_BSR_ANYCRLF|PCRE_BSR_UNICODE)
514    
515  #define PUBLIC_DFA_EXEC_OPTIONS \  #define PUBLIC_DFA_EXEC_OPTIONS \
516    (PCRE_ANCHORED|PCRE_NOTBOL|PCRE_NOTEOL|PCRE_NOTEMPTY|PCRE_NO_UTF8_CHECK| \    (PCRE_ANCHORED|PCRE_NOTBOL|PCRE_NOTEOL|PCRE_NOTEMPTY|PCRE_NO_UTF8_CHECK| \
517     PCRE_PARTIAL|PCRE_DFA_SHORTEST|PCRE_DFA_RESTART|PCRE_NEWLINE_BITS)     PCRE_PARTIAL|PCRE_DFA_SHORTEST|PCRE_DFA_RESTART|PCRE_NEWLINE_BITS| \
518       PCRE_BSR_ANYCRLF|PCRE_BSR_UNICODE)
519    
520  #define PUBLIC_STUDY_OPTIONS 0   /* None defined */  #define PUBLIC_STUDY_OPTIONS 0   /* None defined */
521    
# Line 870  enum { ERR0,  ERR1,  ERR2,  ERR3,  ERR4, Line 871  enum { ERR0,  ERR1,  ERR2,  ERR3,  ERR4,
871         ERR30, ERR31, ERR32, ERR33, ERR34, ERR35, ERR36, ERR37, ERR38, ERR39,         ERR30, ERR31, ERR32, ERR33, ERR34, ERR35, ERR36, ERR37, ERR38, ERR39,
872         ERR40, ERR41, ERR42, ERR43, ERR44, ERR45, ERR46, ERR47, ERR48, ERR49,         ERR40, ERR41, ERR42, ERR43, ERR44, ERR45, ERR46, ERR47, ERR48, ERR49,
873         ERR50, ERR51, ERR52, ERR53, ERR54, ERR55, ERR56, ERR57, ERR58, ERR59,         ERR50, ERR51, ERR52, ERR53, ERR54, ERR55, ERR56, ERR57, ERR58, ERR59,
874         ERR60, ERR61 };         ERR60, ERR61, ERR62, ERR63 };
875    
876  /* The real format of the start of the pcre block; the index of names and the  /* The real format of the start of the pcre block; the index of names and the
877  code vector run on as long as necessary after the end. We store an explicit  code vector run on as long as necessary after the end. We store an explicit
# Line 937  typedef struct compile_data { Line 938  typedef struct compile_data {
938    int  top_backref;             /* Maximum back reference */    int  top_backref;             /* Maximum back reference */
939    unsigned int backref_map;     /* Bitmap of low back refs */    unsigned int backref_map;     /* Bitmap of low back refs */
940    int  external_options;        /* External (initial) options */    int  external_options;        /* External (initial) options */
941    int  external_flags;          /* External flag bits to be set */    int  external_flags;          /* External flag bits to be set */
942    int  req_varyopt;             /* "After variable item" flag for reqbyte */    int  req_varyopt;             /* "After variable item" flag for reqbyte */
943    BOOL had_accept;              /* (*ACCEPT) encountered */    BOOL had_accept;              /* (*ACCEPT) encountered */
944    int  nltype;                  /* Newline type */    int  nltype;                  /* Newline type */
# Line 998  typedef struct match_data { Line 999  typedef struct match_data {
999    BOOL   notempty;              /* Empty string match not wanted */    BOOL   notempty;              /* Empty string match not wanted */
1000    BOOL   partial;               /* PARTIAL flag */    BOOL   partial;               /* PARTIAL flag */
1001    BOOL   hitend;                /* Hit the end of the subject at some point */    BOOL   hitend;                /* Hit the end of the subject at some point */
1002      BOOL   bsr_anycrlf;           /* \R is just any CRLF, not full Unicode */
1003    const uschar *start_code;     /* For use when recursing */    const uschar *start_code;     /* For use when recursing */
1004    USPTR  start_subject;         /* Start of the subject string */    USPTR  start_subject;         /* Start of the subject string */
1005    USPTR  end_subject;           /* End of the subject string */    USPTR  end_subject;           /* End of the subject string */
# Line 1062  total length. */ Line 1064  total length. */
1064  #define tables_length (ctypes_offset + 256)  #define tables_length (ctypes_offset + 256)
1065    
1066  /* Layout of the UCP type table that translates property names into types and  /* Layout of the UCP type table that translates property names into types and
1067  codes. */  codes. Each entry used to point directly to a name, but to reduce the number of
1068    relocations in shared libraries, it now has an offset into a single string
1069    instead. */
1070    
1071  typedef struct {  typedef struct {
1072    const char *name;    pcre_uint16 name_offset;
1073    pcre_uint16 type;    pcre_uint16 type;
1074    pcre_uint16 value;    pcre_uint16 value;
1075  } ucp_type_table;  } ucp_type_table;
# Line 1083  extern const uschar _pcre_utf8_table4[]; Line 1087  extern const uschar _pcre_utf8_table4[];
1087    
1088  extern const int    _pcre_utf8_table1_size;  extern const int    _pcre_utf8_table1_size;
1089    
1090    extern const char   _pcre_utt_names[];
1091  extern const ucp_type_table _pcre_utt[];  extern const ucp_type_table _pcre_utt[];
1092  extern const int _pcre_utt_size;  extern const int _pcre_utt_size;
1093    

Legend:
Removed from v.230  
changed lines
  Added in v.269

  ViewVC Help
Powered by ViewVC 1.1.5