diff --git a/challenges/html5-and-css.json b/challenges/html5-and-css.json
index 1a3081f6e66..a0007447671 100644
--- a/challenges/html5-and-css.json
+++ b/challenges/html5-and-css.json
@@ -1576,8 +1576,8 @@
"tests": [
"assert($(\"ul\").length > 0, 'Create a ul element.')",
"assert($(\"ul li\").length > 2, 'You should have three li elements within your ul element.')",
- "assert(editor.match(/<\\/ul>/g) && editor.match(/
li elements have closing tags.')"
+ "assert(editor.match(/<\\/ul>/gi) && editor.match(/li elements have closing tags.')"
],
"challengeSeed": [
"",