freeCodeCamp 2018 正则表达式:使用捕获组重用模式 答案 let repeatNum = "42 42 42"; let reRegex = /^(\d+)\s\1\s\1$/; // 修改这一行 let result = reRegex.test(repeatNum);