summaryrefslogtreecommitdiffstats
path: root/js/src/builtin/RegExp.js
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-11-18 13:34:18 +0100
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-11-18 13:34:18 +0100
commitbd529c60c67af685de029e2408da3d2bc6980291 (patch)
tree4410771482d5ac6239a9952cb5d15a06cd294ff0 /js/src/builtin/RegExp.js
parentf31b04a303607cd82757e7c4f60bb536658c8a30 (diff)
downloadUXP-bd529c60c67af685de029e2408da3d2bc6980291.tar
UXP-bd529c60c67af685de029e2408da3d2bc6980291.tar.gz
UXP-bd529c60c67af685de029e2408da3d2bc6980291.tar.lz
UXP-bd529c60c67af685de029e2408da3d2bc6980291.tar.xz
UXP-bd529c60c67af685de029e2408da3d2bc6980291.zip
Revert "Issue #1284 - Implement /s (dotAll) for regular expressions."
This reverts commit f31b04a303607cd82757e7c4f60bb536658c8a30.
Diffstat (limited to 'js/src/builtin/RegExp.js')
-rw-r--r--js/src/builtin/RegExp.js5
1 files changed, 0 insertions, 5 deletions
diff --git a/js/src/builtin/RegExp.js b/js/src/builtin/RegExp.js
index 1a2276594..0b849292c 100644
--- a/js/src/builtin/RegExp.js
+++ b/js/src/builtin/RegExp.js
@@ -3,7 +3,6 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// ES6 draft rev34 (2015/02/20) 21.2.5.3 get RegExp.prototype.flags
-// Updated for ES2018 /s (dotAll)
function RegExpFlagsGetter() {
// Steps 1-2.
var R = this;
@@ -32,10 +31,6 @@ function RegExpFlagsGetter() {
// Steps 16-18.
if (R.sticky)
result += "y";
-
- // ES2018
- if (R.dotall)
- result += "s";
// Step 19.
return result;