Message134716
help(re.sub) says:
sub(pattern, repl, string, count=0)
and re.IGNORECASE has a value of 2.
Therefore this:
re.sub("_", "X", subject, re.IGNORECASE)
is telling it to replace at most 2 occurrences of "_". |
|
Date |
User |
Action |
Args |
2011-04-28 19:54:49 | mrabarnett | set | recipients:
+ mrabarnett, effbot, pitrou, ezio.melotti, RobM |
2011-04-28 19:54:49 | mrabarnett | set | messageid: <1304020489.31.0.398676069702.issue11947@psf.upfronthosting.co.za> |
2011-04-28 19:54:48 | mrabarnett | link | issue11947 messages |
2011-04-28 19:54:48 | mrabarnett | create | |
|