diff --git a/challenges/01-responsive-web-design/responsive-web-design.json b/challenges/01-responsive-web-design/responsive-web-design.json
index c1a7950c319..36b5bd62a04 100644
--- a/challenges/01-responsive-web-design/responsive-web-design.json
+++ b/challenges/01-responsive-web-design/responsive-web-design.json
@@ -100,7 +100,7 @@
],
"tests": [
"assert($('p').css('font-size') == '10px', 'message: Your p element should have the font-size of 10px when the device height is less than or equal to 800px.');",
- "assert(code.match(/@media \\(max-height:\\s*?800px\\)/g), 'message: Declare a @media query for devices with a height less than or equal to 800px.');"
+ "assert(code.match(/@media\\s?\\(max-height:\\s*?800px\\)/g), 'message: Declare a @media query for devices with a height less than or equal to 800px.');"
],
"type": "waypoint",
"releasedOn": "Feb 17, 2017",