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