swc/ecmascript/minifier/tests/terser/compress/regexp/regexp_2/input.js

4 lines
93 B
JavaScript
Raw Normal View History

console.log(
JSON.stringify("COMPASS? Overpass.".match(new RegExp("([Sap]+)", "ig")))
);