Changeset 34560 in webkit for trunk/JavaScriptCore/pcre/pcre_internal.h
- Timestamp:
- Jun 14, 2008, 11:23:50 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/pcre/pcre_internal.h
r31454 r34560 172 172 // FIXME: These are really more of a "compiled regexp state" than "regexp options" 173 173 enum RegExpOptions { 174 UseFirstByteOptimizationOption = 0x40000000, /* first _byte is set */175 UseRequiredByteOptimizationOption = 0x20000000, /* req _byte is set */174 UseFirstByteOptimizationOption = 0x40000000, /* firstByte is set */ 175 UseRequiredByteOptimizationOption = 0x20000000, /* reqByte is set */ 176 176 UseMultiLineFirstByteOptimizationOption = 0x10000000, /* start after \n for multiline */ 177 177 IsAnchoredOption = 0x02000000, /* can't use partial with this regex */ … … 180 180 }; 181 181 182 /* Flags added to first byte or reqbyte; a "non-literal" item is either a182 /* Flags added to firstByte or reqByte; a "non-literal" item is either a 183 183 variable-length repeat, or a anything other than literal characters. */ 184 184 185 185 #define REQ_IGNORE_CASE 0x0100 /* indicates should ignore case */ 186 #define REQ_VARY 0x0200 /* req byte followed non-literal item */186 #define REQ_VARY 0x0200 /* reqByte followed non-literal item */ 187 187 188 188 /* Miscellaneous definitions */ … … 327 327 unsigned options; 328 328 329 unsigned short top _bracket;330 unsigned short top _backref;329 unsigned short topBracket; 330 unsigned short topBackref; 331 331 332 unsigned short first _byte;333 unsigned short req _byte;332 unsigned short firstByte; 333 unsigned short reqByte; 334 334 }; 335 335
Note:
See TracChangeset
for help on using the changeset viewer.