We already learned a bit about quantifiers:
a? - 0 or 1 a
a* - 0 or more a
a+ - 1 or more a
But what if we want exact numbers?
That’s why quantifiers exist
{n}
- exactly n times
{n,}
- at least n times
{n,m}
- between n and m times (including n and m)
{,m}
- at most m times
Place them after the character you want to repeat
Hint for the Task:
Remember the | operator to separate the options
Match every a that's exactly repeated 3, every b that's repeated at least 2 times, and any c that's repeated 3 to 5 times