Hey all. I’m going through the Beta at the moment and I feel like I’m missing something crucial with one of the challenges. This challenge is asking me to use a captured group to identify repeated values. That’s no problem, but I can’t seem to pass the tests. Specifically, it’s requesting that I use the capture group twice and that I fail “101 102 103” from passing. I think I’m missing something with how this is supposed to work, but I can’t find any resources that give me much of an understanding of how to do this. I’ve included my code below. Anyone have any ideas?
let repeatNum = "42 42 42"; let reRegex = /(\d+)\b\s(\d+)\s\1/; // Change this line let result = reRegex.test(repeatNum);