| Index: src/regexp.js
|
| diff --git a/src/regexp.js b/src/regexp.js
|
| index e1eac76c124dbda3bc0635466617d1887fd17775..98d03946da9a5e1a33d759b9614cacc2eb243b7c 100644
|
| --- a/src/regexp.js
|
| +++ b/src/regexp.js
|
| @@ -22,6 +22,8 @@ function DoConstructRegExp(object, pattern, flags) {
|
| flags = (pattern.global ? 'g' : '')
|
| + (pattern.ignoreCase ? 'i' : '')
|
| + (pattern.multiline ? 'm' : '');
|
| + if (harmony_unicode)
|
| + flags += (pattern.unicode ? 'u' : '');
|
| if (harmony_regexps)
|
| flags += (pattern.sticky ? 'y' : '');
|
| pattern = pattern.source;
|
| @@ -235,6 +237,7 @@ function RegExpToString() {
|
| if (this.global) result += 'g';
|
| if (this.ignoreCase) result += 'i';
|
| if (this.multiline) result += 'm';
|
| + if (harmony_unicode && this.unicode) result += 'u';
|
| if (harmony_regexps && this.sticky) result += 'y';
|
| return result;
|
| }
|
|
|