diff --git a/seed/challenges/02-javascript-algorithms-and-data-structures/regular-expressions.json b/seed/challenges/02-javascript-algorithms-and-data-structures/regular-expressions.json index a0038cfc72..bb651561bd 100644 --- a/seed/challenges/02-javascript-algorithms-and-data-structures/regular-expressions.json +++ b/seed/challenges/02-javascript-algorithms-and-data-structures/regular-expressions.json @@ -54,7 +54,7 @@ "id": "587d7db3367417b2b2512b8f", "title": "Match Literal Strings", "description": [ - "In the last challenge, you searched for the word \"the\" using the regular expression /the/. That regex searched for a literal match of the string \"the\". Here's another example searching for a literal match of the string \"Kevin\":", + "In the last challenge, you searched for the word \"Hello\" using the regular expression /Hello/. That regex searched for a literal match of the string \"Hello\". Here's another example searching for a literal match of the string \"Kevin\":", "
let testStr = \"Hello, my name is Kevin.\";
let testRegex = /Kevin/;
testRegex.test(testStr);
// Returns true
", "Any other forms of \"Kevin\" will not match. For example, the regex /Kevin/ will not match \"kevin\" or \"KEVIN\".", "
let wrongRegex = /kevin/;
wrongRegex.test(testStr);
// Returns false
",