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