blob: fb141634d4aa054ccb59f48cb33cc9bd92aaf3f8 [file] [log] [blame]
This test checks use of the regexp constructor.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS re === RegExp(re) is true
PASS re !== new RegExp(re) is true
PASS re === RegExp(re,'i') threw exception TypeError: Cannot supply flags when constructing one RegExp from another..
PASS re !== new RegExp(re,'i') threw exception TypeError: Cannot supply flags when constructing one RegExp from another..
PASS successfullyParsed is true
TEST COMPLETE