[issue13592] repr(regex) doesn't include actual regex

Ezio Melotti report at bugs.python.org
Tue Dec 13 12:04:28 CET 2011


Ezio Melotti <ezio.melotti at gmail.com> added the comment:

I'm not sure having the pattern in the repr will make it more readable, since the regex might even be very long.  You can use the .pattern attribute if you want to see the pattern.

----------
nosy: +ezio.melotti
status: open -> pending
versions: +Python 3.2, Python 3.3

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


More information about the Python-bugs-list mailing list