blob: 3a733bd3d6b9f1855ec2bb0274c4b1f602018241 [file] [log] [blame]
This test checks expressions with alternative lengths of appox. 2^31.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS regexp1.exec('') is null
PASS regexp2.exec('') is null
PASS regexp3.exec(s3) is null
FAIL function f() { /[^a$]{4294967295}/ } should throw SyntaxError: Invalid regular expression: number too large in {} quantifier. Was undefined.
PASS successfullyParsed is true