diff --git a/seed/challenges/html5-and-css.json b/seed/challenges/html5-and-css.json
index e99acf7840..fd8f176d7e 100644
--- a/seed/challenges/html5-and-css.json
+++ b/seed/challenges/html5-and-css.json
@@ -156,7 +156,7 @@
"assert($(\"h1\").length > 0, 'message: Make your h1
element visible on your page by uncommenting it.');",
"assert($(\"h2\").length > 0, 'message: Make your h2
element visible on your page by uncommenting it.');",
"assert($(\"p\").length > 0, 'message: Make your p
element visible on your page by uncommenting it.');",
- "assert(!new RegExp(\"-->\", \"gi\").test(code), 'message: Be sure to delete all trailing comment tags, i.e. -->
.');"
+ "assert(!/-->/gi.test(code), 'message: Be sure to delete all trailing comment tags, i.e. -->
.');"
],
"challengeSeed": [
"