blob: 01793b45fe6398c118dbb692ffa08de8655ddac5 [file] [log] [blame]
Test that covers capturing brackets, and was adapted from a part of an early version of Acid3.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS /TA[])]/.exec('TA]') threw exception SyntaxError: Invalid regular expression: unmatched parentheses.
PASS /[]/.exec('') is null
PASS /(\3)(\1)(a)/.exec('cat').toString() is 'a,,,a'
PASS successfullyParsed is true
TEST COMPLETE