diff --git a/curriculum/challenges/english/blocks/workshop-calorie-counter/63bf5adfe2981b332eb007b6.md b/curriculum/challenges/english/blocks/workshop-calorie-counter/63bf5adfe2981b332eb007b6.md index b4cace99131..a29d0ee8c39 100644 --- a/curriculum/challenges/english/blocks/workshop-calorie-counter/63bf5adfe2981b332eb007b6.md +++ b/curriculum/challenges/english/blocks/workshop-calorie-counter/63bf5adfe2981b332eb007b6.md @@ -7,17 +7,17 @@ dashedName: step-32 # --description-- -The `+` modifier in a regex allows you to match a pattern that occurs one or more times. To match your digit pattern one or more times, add a plus after each of the digit character classes. For example: `[0-9]+`. +The `+` quantifier in a regular expression allows you to match a pattern that occurs one or more times. To match your digit pattern one or more times, add a plus after each of the digit character classes. For example: `[0-9]+`. # --hints-- -You should add the `+` modifier to the character class before `e` in your regular expression. +You should add the `+` quantifier to the character class before `e` in your regular expression. ```js assert.match(isInvalidInput.toString(), /regex\s*=\s*\/\[0-9\]\+e/); ``` -You should add the `+` modifier to the character class after `e` in your regular expression. +You should add the `+` quantifier to the character class after `e` in your regular expression. ```js assert.match(isInvalidInput.toString(), /regex\s*=\s*\/\[0-9\]\+e\[0-9\]\+\//);