From 9cf9d5e14a4434fb5c62ae44eb7e4a5b53935095 Mon Sep 17 00:00:00 2001 From: Guy Even Date: Wed, 27 Jun 2018 18:34:16 +0300 Subject: [PATCH] fix(challenges): fixed RegEx for Template Literals JavaScript challenge ISSUES CLOSED: #65 --- .../02-javascript-algorithms-and-data-structures/es6.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/challenges/02-javascript-algorithms-and-data-structures/es6.json b/challenges/02-javascript-algorithms-and-data-structures/es6.json index c2efb521b..67a311d2b 100644 --- a/challenges/02-javascript-algorithms-and-data-structures/es6.json +++ b/challenges/02-javascript-algorithms-and-data-structures/es6.json @@ -1015,7 +1015,7 @@ { "text": "Template strings were used", "testString": - "getUserInput => assert(getUserInput('index').match(/\\`
  • \\s*\\$\\s*\\{(\\s*\\w+\\s*|\\s*\\w+\\s*\\[\\s*[\\w]+\\s*\\]\\s*)\\}\\s*<\\s*/li\\s*>\\`/g), 'Template strings were used');" + "getUserInput => assert(getUserInput('index').match(/`
  • \\s*\\$\\s*\\{(\\s*\\w+\\s*|\\s*\\w+\\s*\\[\\s*[\\w]+\\s*\\]\\s*)\\}\\s*<\\s*\\/li\\s*>`/g), 'Template strings were not used properly');" } ], "releasedOn": "Feb 17, 2017",