[issue694374] Recursive regular expressions

Matthew Barnett report at bugs.python.org
Mon Oct 13 17:35:23 CEST 2008


Matthew Barnett <python at mrabarnett.plus.com> added the comment:

Perl (?number) for calling numbered groups and (?&name) for named groups
 (Perl also supports (?P>name)). (?R) is equivalent to (?0).

It's interesting that the documentation for both Perl and PCRE say that
they support (?P>name) because that's what Python uses!

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue694374>
_______________________________________


More information about the Python-bugs-list mailing list