blob: b73673ce98dcfd72d477a3416050ad68096c8a4c [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: /TA[])]/: Unmatched ')'.
PASS /[]/.exec('') is null
PASS /(\3)(\1)(a)/.exec('cat').toString() is 'a,,,a'
PASS successfullyParsed is true