blob: 1d0d94e10c7fb793ba9476483d943f784e60e569 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
var interestingCaptureNums = [(1 << 14),
(1 << 15) - 1,
(1 << 15),
(1 << 15) + 1,
(1 << 16)]
for (let i of interestingCaptureNums) {
print(i);
try {
var source = Array(i).join("(") + "a" + Array(i).join(")");
RegExp(source).exec("a");
} catch {}
}
|