[issue15956] backreference to named group does not work
Matthew Barnett
report at bugs.python.org
Tue Sep 18 19:07:58 CEST 2012
Matthew Barnett added the comment:
There needed to be a way of referring to named groups in the replacement template. The existing form \groupnumber clearly wouldn't work. Other regex implementations, such as Perl, do have \g and also \k (for named groups).
In my implementation I added support for \g in regex strings.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15956>
_______________________________________
More information about the Python-bugs-list
mailing list