We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d27a52a commit 99eaf19Copy full SHA for 99eaf19
crates/swc_ecma_preset_env/tests/fixtures/corejs3/usage-regexp/output.mjs
@@ -3,7 +3,7 @@ import "core-js/modules/es.regexp.exec.js";
3
import "core-js/modules/es.regexp.to-string.js";
4
var a = RegExp("(?<year>\\d{4})-(?<month>\\d{2})-(?<day>\\d{2})", "u");
5
var b = RegExp(".", "s");
6
-var c = new RegExp(".", "imsuy");
+var c = RegExp(".", "imsuy");
7
console.log(a.unicode);
8
console.log(b.dotAll);
9
console.log(c.sticky);
0 commit comments