blob: 563e6fb3979f0d7c795dbaf4fd543eda909871d5 [file] [log] [blame]
let s = '';
for (let i = 0; i < 1000; i++) {
s += '(?:a){0,2}';
}
let r = new RegExp(s);
for (let i = 0; i < 1000; i++)
''.match(r);