Message332200
The third argument of re.sub() is the maximal number of replacements. re.I == 2.
sub(pattern, repl, string, count=0, flags=0)
Return the string obtained by replacing the leftmost
non-overlapping occurrences of the pattern in string by the
replacement repl. repl can be either a string or a callable;
if a string, backslash escapes in it are processed. If it is
a callable, it's passed the Match object and must return
a replacement string to be used. |
|
Date |
User |
Action |
Args |
2018-12-20 08:32:12 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, saga |
2018-12-20 08:32:12 | serhiy.storchaka | set | messageid: <1545294732.15.0.788709270274.issue35543@psf.upfronthosting.co.za> |
2018-12-20 08:32:12 | serhiy.storchaka | link | issue35543 messages |
2018-12-20 08:32:12 | serhiy.storchaka | create | |
|