Add a complete step involving whole capturing groups

I’m stuck on Stage #ZM7. Since I am a kinda beginner developer, all the steps were not hard, since nothing involved capturing groups and processing them all together. But when I got to #ZM7, I was hit with this:

echo -n "I see 1 cat, 2 dogs and 3 cows" | ./your_program.sh -E "^I see (\d (cat|dog|cow)s?(, | and )?)+$"

Since no stage before involved processing capturing groups, the only interaction with those were in this one. So now I personally had to rewrite all my code to support this (maybe beginner rant).

So I am asking for creating a step involving capturing groups, which then facilitates for beginners the introduction of alternate groups.

2 Likes

Hey @Spitfire7777, thanks for highlighting the issue! Your suggestion makes a lot of sense.

Right now we don’t have the ability to split stages, but we’ll keep this in mind and revisit once that functionality is available.