Changeset 39984 in webkit for trunk/JavaScriptCore/pcre/pcre_compile.cpp
- Timestamp:
- Jan 16, 2009, 1:51:38 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/pcre/pcre_compile.cpp
r39963 r39984 304 304 305 305 c = *ptr; 306 if (!isASCIIAlpha(c)) { 306 307 /* To match Firefox, inside a character class, we also accept 308 numbers and '_' as control characters */ 309 if ((!isClass && !isASCIIAlpha(c)) || (!isASCIIAlphanumeric(c) && c != '_')) { 307 310 c = '\\'; 308 311 ptr -= 2;
Note:
See TracChangeset
for help on using the changeset viewer.