Message181043
#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:32 | ezio.melotti | set | recipients:
+ ezio.melotti, rhettinger, mrabarnett, chris.jerdonek |
2013-01-31 20:57:32 | ezio.melotti | set | messageid: <1359665852.74.0.959258687838.issue17087@psf.upfronthosting.co.za> |
2013-01-31 20:57:32 | ezio.melotti | link | issue17087 messages |
2013-01-31 20:57:32 | ezio.melotti | create | |
|