Continuing the discussion from Reuse Patterns Using Capture Groupz:
In this solution, we are basicly saying there should be nothing before and after what we are looking for, are there any other solutions to this puzzle?
let repeatNum = "42 42 42";
let reRegex = /^(\d+)\s\1\s\1$/;
let result = reRegex.test(repeatNum);