dlclark / regexp2

A full-featured regex engine in pure Go based on the .NET engine
MIT License
997 stars 84 forks source link

Support for Python-style named backreference #59

Open ryanmurakami opened 1 year ago

ryanmurakami commented 1 year ago

In RE2 compatibility mode, regexp2 supports Python-style named capture groups (eg. (?P<name>re)). But there doesn't appear to be support for Python-style named backreferences (eg. (?P=name)).

Do you have any plans to support those? More info here. Thanks!