Tell us what’s happening:
I’m confused. The ^
negates a character set, right?
So why does this solution call for /^(\d+)\s\1\s\1$/
? Does the carat work differently here? How??
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.102 Safari/537.36
Challenge: Reuse Patterns Using Capture Groups
Link to the challenge: