Answering my own question here, I solved this using golang-pkg-pcre, it uses libpcre++, perl regexes that do support backreferences. The API is not the same.
More Related Contents:
- Regular expression for duplicate words
- Negating a backreference in Regular Expressions
- Negative look-ahead in Go regular expressions
- Using positive-lookahead (?=regex) with re2
- Split a string on whitespace in Go?
- “Unknown escape sequence” error in Go
- Regex with replace in Golang
- Find all string matches with Regex golang
- Regex Pattern to Match, Excluding when… / Except between
- Regex for quoted string with escaping quotes
- Combine Regexp?
- Regex credit card number tests
- how to remove folder name from url using htaccess
- Regex match one of two words
- Create new column in dataframe based on partial string matching other column
- Make regular expression not match empty string?
- How to exclude a specific string constant? [duplicate]
- What do comma separated numbers in curly braces at the end of a regex mean?
- Remove all text between two brackets
- MongoDB reverse regex
- Simple AlphaNumeric Regex (single spacing) without Catastrophic Backtracking
- Select rows from data.frame ending with a specific character string in R
- Regex to match any character including new lines
- How can I insert a tab character with sed on OS X?
- Searching for all variations of hyphens and dashes in Regex
- How do I remove all non-ASCII characters with regex and Notepad++?
- How do I use a new-line replacement in a BSD sed?
- Regex: Get Filename Without Extension in One Shot?
- Grep and regex – why am I escaping curly braces?
- grep regex whitespace behavior