This test verifies that implicit creation of a regular expression eagerly checks for syntax errors.

If the test passes, you'll see pass messages below.