Source code
Revision control
Copy as Markdown
Other Tools
// |jit-test| --enable-regexp-modifiers
try {
new RegExp("(?--");
} catch (e) {
assertEq(e.message, "multiple dashes in flag group");
}
// |jit-test| --enable-regexp-modifiers
try {
new RegExp("(?--");
} catch (e) {
assertEq(e.message, "multiple dashes in flag group");
}