Skip to content

Commit

Permalink
Remove requirement of i flag in regex
Browse files Browse the repository at this point in the history
  • Loading branch information
Manish-Giri committed Feb 7, 2017
1 parent e95c540 commit 1c4ee44
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 <code>\"The five boxing wizards jump quickly.\"</code>');",
"assert(\"Pack my box with five dozen liquor jugs.\".match(alphabetRegexV2).length === 32, 'message: Your regex should find 32 alphanumeric characters in <code>\"Pack my box with five dozen liquor jugs.\"</code>');",
"assert(\"How vexingly quick daft zebras jump!\".match(alphabetRegexV2).length === 30, 'message: Your regex should find 30 alphanumeric characters in <code>\"How vexingly quick daft zebras jump!\"</code>');",
Expand Down

0 comments on commit 1c4ee44

Please sign in to comment.