logoalt Hacker News

ok_dadtoday at 4:31 AM1 replyview on HN

Go stdlib regexp package does not support back references, as it uses the RE2 engine. You can use them in replace but not matching.


Replies

masklinntoday at 5:24 AM

Regexp does not use re2, it is a separate implementation of the same concepts.