Question: Regular Expressions: Reuse Patterns Using Capture Groups

Hello, for some reason I need to have a regular expression that has two \s characters even though mine passed all the tests.

/(^\d+)(\s+\1)\2$/

So how can I change the above so it works on all the tests and has two \s characters because ,

/(^\d+)(\s\s\1)\2$/

didn’t do it, and

/(^\d+)(\s\1)\2$/

solves all the tests but the one where I need two \s characters. The pattern allowed to pass are suppose to be three digits repeated with spaces between.

Nevermind. It was suppose to be /(^\d+)\s\1\s\1/.

Excuse me while I go be grumpy over here.