From 89a4b10c308c8c80f2f0feca61050bb22fccd365 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/seed/challenges/02-javascript-algorithms-and-data-structures/regular-expressions.json b/seed/challenges/02-javascript-algorithms-and-data-structures/regular-expressions.json index dc301efaa9..c100b1f58d 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 @@ -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.\";",