From f9a63ee58124642cabb5551fe3a550dd8d6aaea6 Mon Sep 17 00:00:00 2001 From: Akkshay Lawrence Date: Wed, 4 Apr 2018 00:55:41 +0530 Subject: [PATCH] fix(challenges): Fixed typo in the challenge (#16991) changed vowels to letters. BREAKING CHANGE: none. Closes #16979 --- .../regular-expressions.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/challenges/02-javascript-algorithms-and-data-structures/regular-expressions.json b/challenges/02-javascript-algorithms-and-data-structures/regular-expressions.json index dc301efaa93..c100b1f58d0 100644 --- a/challenges/02-javascript-algorithms-and-data-structures/regular-expressions.json +++ b/challenges/02-javascript-algorithms-and-data-structures/regular-expressions.json @@ -277,7 +277,7 @@ "
let catStr = \"cat\";
let batStr = \"bat\";
let matStr = \"mat\";
let bgRegex = /[a-e]at/;
catStr.match(bgRegex); // Returns [\"cat\"]
batStr.match(bgRegex); // Returns [\"bat\"]
matStr.match(bgRegex); // Returns null
", "
", "Match all the letters in the string quoteSample.", - "Note
Be sure to match both upper- and lowercase vowels." + "Note
Be sure to match both upper- and lowercase letters." ], "challengeSeed": [ "let quoteSample = \"The quick brown fox jumps over the lazy dog.\";",