blob: b1cd0ec82afa0f8fa460479866d257f276bf1817 (
plain)
1
2
3
4
5
6
7
8
|
try {
var n = 65536;
const lower = "a".repeat(n)
const upper = "A".repeat(n)
const pat = "^(?:" + lower + "|" + upper + "|" + upper + ")$";
const re = RegExp(pat, "i");
re.test("");
} catch {}
|