| Index: src/regexp.js
|
| diff --git a/src/regexp.js b/src/regexp.js
|
| index 7bcb612b5e0d3e2d8ac0b07812565dceb0ad4a48..a574f62bf6a040b808bc40ea380f8a497f2261fe 100644
|
| --- a/src/regexp.js
|
| +++ b/src/regexp.js
|
| @@ -278,11 +278,7 @@ function TrimRegExp(regexp) {
|
|
|
|
|
| function RegExpToString() {
|
| - // If this.source is an empty string, output /(?:)/.
|
| - // http://bugzilla.mozilla.org/show_bug.cgi?id=225550
|
| - // ecma_2/RegExp/properties-001.js.
|
| - var src = this.source ? this.source : '(?:)';
|
| - var result = '/' + src + '/';
|
| + var result = '/' + this.source + '/';
|
| if (this.global) result += 'g';
|
| if (this.ignoreCase) result += 'i';
|
| if (this.multiline) result += 'm';
|
|
|