Author ezio.melotti
Recipients chris.jerdonek, ezio.melotti, mrabarnett, rhettinger
Date 2013-01-31.20:57:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
#13592 is indeed the issue I was thinking about, but apparently that's about _sre.SRE_Pattern, so it's not the same thing.

> Just showing group(0) should be helpful.

Often the interesting group is group(1), so showing only group(0) seems a bit arbitrary.

> And perhaps the number of groups.

If we show only group(0), this might be useful as an indication that there are(n't) other groups.

> If a string is really long, we can truncate it like reprlib does.

That's certainly an option.

FWIW I don't usually care about the start/end, and, if included, these values could be included as span=(3,12).
Date User Action Args
2013-01-31 20:57:32ezio.melottisetrecipients: + ezio.melotti, rhettinger, mrabarnett, chris.jerdonek
2013-01-31 20:57:32ezio.melottisetmessageid: <>
2013-01-31 20:57:32ezio.melottilinkissue17087 messages
2013-01-31 20:57:32ezio.melotticreate