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 6a87ec1e82..34eed53341 100644 --- a/seed/challenges/01-front-end-development-certification/basic-javascript.json +++ b/seed/challenges/01-front-end-development-certification/basic-javascript.json @@ -5624,7 +5624,7 @@ ], "tests": [ "assert(andCount==2, 'message: Your regular expression should find two occurrences of the word and.');", - "assert(code.match(/\\/and\\/gi/), 'message: Use regular expressions to find the word and in testString.');" + "assert(code.match(/\\/and\\/gi/) || code.match(/\\/\\\\band\\\\b\\/gi/) || code.match(/\\/\\(\\?\\:\\\\b\\)and\\(\\?\\:\\\\b\\)\\/gi/), 'message: Use regular expressions to find the word and in testString.');" ], "type": "waypoint", "challengeType": 1,