Hi team,
The following test, used to validate the “Alternation” stage:
echo -n "I see 1 cat, 2 dogs and 3 cows" | ./your_program.sh -E "^I see (\d (cat|dog|cow)s?(, | and )?)+$"
actually requires our implementation to handle grouping in general, not just alternation grouping. I think this requirement should be made clearer in the task description.
More broadly, I feel the task descriptions could benefit from being a bit more detailed overall.