diff --git a/seed/challenges/01-front-end-development-certification/basic-javascript.json b/seed/challenges/01-front-end-development-certification/basic-javascript.json
index 1de5807475c..747f89a257a 100644
--- a/seed/challenges/01-front-end-development-certification/basic-javascript.json
+++ b/seed/challenges/01-front-end-development-certification/basic-javascript.json
@@ -988,7 +988,7 @@
],
"tests": [
"assert(myStr === \"This is the start. This is the end.\", 'message: myStr should have a value of This is the start. This is the end.');",
- "assert(code.match(/This is the start\\.\\s*[\"']\\s*(.)\\s*[\"']This is the end\\.[\"'];\\s*$/)[1] === \"+\", 'message: Use the + operator to build myStr');"
+ "assert(/var\\s+myStr\\s*=\\s*([\"'])This is the start\\. \\1\\s*\\+\\s*([\"'])This is the end\\.\\2/.test(code), 'message: Use the + operator to build myStr');"
],
"type": "waypoint",
"challengeType": "1",