blob: 8349bedb54062683704fc32b1cadb22359afb6d1 [file] [log] [blame]
msaboff@apple.comec2f23d2014-05-16 22:09:51 +00001if (''.match(/(,9111111111{2257483648,}[:lower:])|(ab)/))
2 throw new Error("Incorrect result, should not have matched")
3
4if (''.match(/(1{1,2147483648})|(ab)/))
5 throw new Error("Incorrect result, should not have matched")
6
7if (''.match(/(1{2147480000,}2{3648,})|(ab)/))
8 throw new Error("Incorrect result, should not have matched")
9
10if (!'1234'.match(/1{1,2147483645}2{1,2147483645}3{1,2147483645}4{1,2147483645}/))
11 throw new Error("Incorrect result, should have matched")