Can't you combine `pluralCategories` and `isWhenNumber` into a single regular expression?