From d9cd948774ef969791ddc9e23e50c5d0ed5fd065 Mon Sep 17 00:00:00 2001 From: Manish Giri Date: Thu, 2 Feb 2017 19:10:26 -0500 Subject: [PATCH] Improve instruction in regex ignore case while matching challenge --- .../regular-expressions.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 4cfd5aadff..0c0c1ccd12 100644 --- a/challenges/02-javascript-algorithms-and-data-structures/regular-expressions.json +++ b/challenges/02-javascript-algorithms-and-data-structures/regular-expressions.json @@ -124,8 +124,7 @@ "description": [ "Up until now, you've looked at regexes to do literal matches of strings. But sometimes, you might want to also match case differences.", "Case (or sometimes letter case) is the difference between uppercase letters and lowercase letters. Examples of uppercase are \"A\", \"B\", and \"C\". Examples of lowercase are \"a\", \"b\", and \"c\".", - "You can match both cases using what is called a flag. There are other flags but here you'll focus on the flag that ignores case.", - "The flag that ignores case is the i flag. You can use it by appending it to the regex. An example of using this flag is /ignorecase/i. This regex can match the strings \"ignorecase\", \"igNoreCase\", and \"IgnoreCase\".", + "You can match both cases using what is called a flag. There are other flags but here you'll focus on the flag that ignores case - the i flag. You can use it by appending it to the regex. An example of using this flag is /ignorecase/i. This regex can match the strings \"ignorecase\", \"igNoreCase\", and \"IgnoreCase\".", "
", "Write a regex fccRegex to match \"FreeCodeCamp\", no matter its case. Your regex should not match any abbreviations or variations with spaces." ],