Changeset 90247 in webkit for trunk/Source/JavaScriptCore/runtime/RegExpObject.cpp
- Timestamp:
- Jul 1, 2011, 11:19:17 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/runtime/RegExpObject.cpp
r89895 r90247 135 135 // double escape it. 136 136 if ((forwardSlashPosition - slashesPosition) & 1) 137 result.append(pattern.substringSharingImpl(completed, forwardSlashPosition + 1));137 result.append(pattern.substringSharingImpl(completed, forwardSlashPosition - completed + 1)); 138 138 else { 139 result.append(pattern.substringSharingImpl(completed, forwardSlashPosition ));139 result.append(pattern.substringSharingImpl(completed, forwardSlashPosition - completed)); 140 140 result.append("\\/"); 141 141 }
Note:
See TracChangeset
for help on using the changeset viewer.