Go stdlib regexp package does not support back references, as it uses the RE2 engine. You can use them in replace but not matching.
Go stdlib regexp package does not support back references, as it uses the RE2 engine. You can use them in replace but not matching.
Regexp does not use re2, it is a separate implementation of the same concepts.