]>
git.saurik.com Git - apple/javascriptcore.git/blob - tests/stress/large-regexp.js
1 if (''.match(/(,9111111111{2257483648,}[:lower:])|(ab)/))
2 throw new Error("Incorrect result, should not have matched")
4 if (''.match(/(1{1,2147483648})|(ab)/))
5 throw new Error("Incorrect result, should not have matched")
7 if (''.match(/(1{2147480000,}2{3648,})|(ab)/))
8 throw new Error("Incorrect result, should not have matched")
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")