[issue47152] Reorganize the re module sources

Matthew Barnett report at bugs.python.org
Mon Apr 4 13:04:09 EDT 2022


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

For reference, I also implemented .regs in the regex module for compatibility, but I've never used it myself. I had to do some investigating to find out what it did!

It returns a tuple of the spans of the groups.

Perhaps I might have used it if it didn't have such a cryptic name and/or was documented.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue47152>
_______________________________________


More information about the Python-bugs-list mailing list