Changeset 44206
- Timestamp:
- 05/27/09 17:27:35 (10 months ago)
- Location:
- branches/WWDC-2009-branch/JavaScriptCore
- Files:
-
- 2 modified
-
ChangeLog (modified) (1 diff)
-
yarr/RegexPattern.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/WWDC-2009-branch/JavaScriptCore/ChangeLog
r44026 r44206 1 2009-05-27 Mark Rowe <mrowe@apple.com> 2 3 Merge r44169. 4 5 2009-05-26 Gavin Barraclough <barraclough@apple.com> 6 7 Reviewed by Oliver "pieces of eight" Hunt. 8 9 When reseting RegexPattern class, should fully reset the class, not just bits of it. 10 In particular, we delete the cached character classes (for wordchars, etc), but do 11 not reset the set of pointers to the cached classes. In the case of a repeated parse 12 due to an illegal back-reference we will continue to use the deleted character class. 13 14 * yarr/RegexPattern.h: 15 (JSC::Yarr::RegexPattern::reset): 16 1 17 2009-05-21 Mark Rowe <mrowe@apple.com> 2 18 -
branches/WWDC-2009-branch/JavaScriptCore/yarr/RegexPattern.h
r42853 r44206 264 264 m_maxBackReference = 0; 265 265 266 newlineCached = 0; 267 digitsCached = 0; 268 spacesCached = 0; 269 wordcharCached = 0; 270 nondigitsCached = 0; 271 nonspacesCached = 0; 272 nonwordcharCached = 0; 273 266 274 deleteAllValues(m_disjunctions); 267 275 m_disjunctions.clear();