From bbbc1637324c2671c9c1f58ace755f3f022d6bba Mon Sep 17 00:00:00 2001 From: MANISH-GIRI Date: Tue, 7 Feb 2017 00:58:42 -0500 Subject: [PATCH] Remove requirement of i flag in regex --- .../regular-expressions.json | 1 - 1 file changed, 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 c8b0f61d5aa..271459da104 100644 --- a/challenges/02-javascript-algorithms-and-data-structures/regular-expressions.json +++ b/challenges/02-javascript-algorithms-and-data-structures/regular-expressions.json @@ -542,7 +542,6 @@ ], "tests": [ "assert(alphabetRegexV2.global, 'message: Your regex should use the global flag.');", - "assert(/i/.test(alphabetRegexV2.flags), 'message: Your regex should use the case insensitive flag.');", "assert(\"The five boxing wizards jump quickly.\".match(alphabetRegexV2).length === 31, 'message: Your regex should find 31 alphanumeric characters in \"The five boxing wizards jump quickly.\"');", "assert(\"Pack my box with five dozen liquor jugs.\".match(alphabetRegexV2).length === 32, 'message: Your regex should find 32 alphanumeric characters in \"Pack my box with five dozen liquor jugs.\"');", "assert(\"How vexingly quick daft zebras jump!\".match(alphabetRegexV2).length === 30, 'message: Your regex should find 30 alphanumeric characters in \"How vexingly quick daft zebras jump!\"');",