Changed regex to support QUnit 1.12.0 and fail build if regex does not match