Incorrect (?) Solution for RegEx: Reuse Patterns Using Capture Group


The solution provided to this challenge works for only a limited test case. My understanding is that the challenge is wide. “Use capture groups in reRegex to match numbers that are repeated only three times in a string, each separated by a space.”

A possible case that should technically return true is “A 42 42 42”; however the solution provided dictates that the whole string only consists of the three numbers with the two spaces.

The challenge should probably be worded differently. Thoughts?

Thank you for helping make FCC better. Bugs can be reported as GitHub Issues. Whenever reporting a bug, please check first that there isn’t already an issue for it and provide as much detail as possible.