summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug976446.js
blob: e99e221311d49923bb5a1a750298fed7ec5f10f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

try {

function f() {}
f("".match(/(?:(?=g)).{2147483648,}/ + (/[]/)), null);

} catch (e) {} // Yarr throws on the above regexp

var re = new RegExp("a[\x01-\\xDE]+M", "gi");
re.exec("");

var re = new RegExp("a[\x01-\\u00b8]+?c", "gi");
re.exec("");

var re = new RegExp("a[\x01-\\u00f8]?c", "gi");
re.exec("");