From ef394093f77e913dd97a99854a9f12d295da5348 Mon Sep 17 00:00:00 2001 From: Alex Soto <37157321+alsoto25@users.noreply.github.com> Date: Wed, 20 Jan 2021 23:53:04 -0600 Subject: [PATCH] fix(learn): removing unnecessary test case for regex challenge (#40581) Co-authored-by: Alejandro Soto --- .../reuse-patterns-using-capture-groups.md | 9 --------- 1 file changed, 9 deletions(-) diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/regular-expressions/reuse-patterns-using-capture-groups.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/regular-expressions/reuse-patterns-using-capture-groups.md index 3e574260ce..d6267d3468 100644 --- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/regular-expressions/reuse-patterns-using-capture-groups.md +++ b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/regular-expressions/reuse-patterns-using-capture-groups.md @@ -43,15 +43,6 @@ Your regex should reuse a capture group twice. assert(reRegex.source.match(/\\1|\\2/g).length >= 2); ``` -Your regex should have two spaces separating the three numbers. - -```js -assert( - reRegex.source.match(/ |\\s/g).length === 2 || - reRegex.source.match(/\(\\s\)(?=.*\\(1|2))/g) -); -``` - Your regex should match `"42 42 42"`. ```js