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

Diff of /code/trunk/pcre.h.in

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

revision 1261 by ph10, Wed Feb 27 16:27:01 2013 UTC revision 1309 by ph10, Fri Apr 5 15:35:59 2013 UTC
# Line 5  Line 5 
5  /* This is the public header file for the PCRE library, to be #included by  /* This is the public header file for the PCRE library, to be #included by
6  applications that call the PCRE functions.  applications that call the PCRE functions.
7    
8             Copyright (c) 1997-2012 University of Cambridge             Copyright (c) 1997-2013 University of Cambridge
9    
10  -----------------------------------------------------------------------------  -----------------------------------------------------------------------------
11  Redistribution and use in source and binary forms, with or without  Redistribution and use in source and binary forms, with or without
# Line 96  extern "C" { Line 96  extern "C" {
96  #endif  #endif
97    
98  /* Public options. Some are compile-time only, some are run-time only, and some  /* Public options. Some are compile-time only, some are run-time only, and some
99  are both, so we keep them all distinct. However, almost all the bits in the  are both. Most of the compile-time options are saved with the compiled regex so
100  options word are now used. In the long run, we may have to re-use some of the  that they can be inspected during studying (and therefore JIT compiling). Note
101  compile-time only bits for runtime options, or vice versa. Any of the  that pcre_study() has its own set of options. Originally, all the options
102  compile-time options may be inspected during studying (and therefore JIT  defined here used distinct bits. However, almost all the bits in a 32-bit word
103  compiling).  are now used, so in order to conserve them, option bits that were previously
104    only recognized at matching time (i.e. by pcre_exec() or pcre_dfa_exec()) may
105    also be used for compile-time options that affect only compiling and are not
106    relevant for studying or JIT compiling.
107    
108  Some options for pcre_compile() change its behaviour but do not affect the  Some options for pcre_compile() change its behaviour but do not affect the
109  behaviour of the execution functions. Other options are passed through to the  behaviour of the execution functions. Other options are passed through to the
# Line 142  with J. */ Line 145  with J. */
145  #define PCRE_AUTO_CALLOUT       0x00004000  /* C1       */  #define PCRE_AUTO_CALLOUT       0x00004000  /* C1       */
146  #define PCRE_PARTIAL_SOFT       0x00008000  /*    E D J  ) Synonyms */  #define PCRE_PARTIAL_SOFT       0x00008000  /*    E D J  ) Synonyms */
147  #define PCRE_PARTIAL            0x00008000  /*    E D J  )          */  #define PCRE_PARTIAL            0x00008000  /*    E D J  )          */
148  #define PCRE_DFA_SHORTEST       0x00010000  /*      D   */  
149    /* This pair use the same bit. */
150    #define PCRE_NEVER_UTF          0x00010000  /* C1        ) Overlaid */
151    #define PCRE_DFA_SHORTEST       0x00010000  /*      D    ) Overlaid */
152    
153  #define PCRE_DFA_RESTART        0x00020000  /*      D   */  #define PCRE_DFA_RESTART        0x00020000  /*      D   */
154  #define PCRE_FIRSTLINE          0x00040000  /* C3       */  #define PCRE_FIRSTLINE          0x00040000  /* C3       */
155  #define PCRE_DUPNAMES           0x00080000  /* C1       */  #define PCRE_DUPNAMES           0x00080000  /* C1       */

Legend:
Removed from v.1261  
changed lines
  Added in v.1309

  ViewVC Help
Powered by ViewVC 1.1.5