diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/regular-expressions/check-for-mixed-grouping-of-characters.english.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/regular-expressions/check-for-mixed-grouping-of-characters.english.md index a21780d60e..fa707aa514 100644 --- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/regular-expressions/check-for-mixed-grouping-of-characters.english.md +++ b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/regular-expressions/check-for-mixed-grouping-of-characters.english.md @@ -37,6 +37,8 @@ tests: testString: myRegex.lastIndex = 0; assert(myRegex.test('Eleanor Roosevelt')); - text: Your regex myRegex should return false for the string Franklin Rosevelt testString: myRegex.lastIndex = 0; assert(!myRegex.test('Franklin Rosevelt')); + - text: Your regex myRegex should return false for the string Frank Roosevelt + testString: myRegex.lastIndex = 0; assert(!myRegex.test('Frank Roosevelt')); - text: You should use .test() to test the regex. testString: assert(code.match(/myRegex.test\(\s*myString\s*\)/)); - text: Your result should return true.