Message134716
| Author | mrabarnett |
|---|---|
| Recipients | RobM, effbot, ezio.melotti, mrabarnett, pitrou |
| Date | 2011-04-28.19:54:48 |
| SpamBayes Score | 0.12828934 |
| Marked as misclassified | No |
| Message-id | <1304020489.31.0.398676069702.issue11947@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
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 "_". |
|
| History | |||
|---|---|---|---|
| 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 | |