Changeset 52984 in webkit for trunk/JavaScriptCore/runtime
- Timestamp:
- Jan 8, 2010, 3:44:19 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/runtime/RegExpPrototype.cpp
r52981 r52984 115 115 if (asRegExpObject(thisValue)->get(exec, exec->propertyNames().multiline).toBoolean(exec)) 116 116 postfix[index] = 'm'; 117 UString source = asRegExpObject(thisValue)->get(exec, exec->propertyNames().source).toString(exec);118 return jsNontrivialString(exec, makeString("/", source.size() ? source : UString("(?:)"), postfix));117 118 return jsNontrivialString(exec, makeString("/", asRegExpObject(thisValue)->get(exec, exec->propertyNames().source).toString(exec), postfix)); 119 119 } 120 120
Note:
See TracChangeset
for help on using the changeset viewer.