Reuse Patterns Using Capture Groups_1

** I don’t understand where the problem is **

Your code so far

let repeatNum = "42 42 42";
let reRegex = /(\d+) \3/; // Change this line
let result = reRegex.test(repeatNum);

Your browser information:

User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.159 Safari/537.36

Challenge: Reuse Patterns Using Capture Groups

Link to the challenge:

Escaped number, ie. \1 in the pattern refers to the group captured by the pattern. \1 refers to the first group, \2 to the second, and so on.