- Python Home
- About
- News
- Documentation
- Downloads
- Community
- Foundation
- Developer's Guide
- Issue Tracker
- Issues
- Summaries
- User
- Administration
- Help
➜
This issue tracker has been migrated to GitHub,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
| Author | serhiy.storchaka |
|---|---|
| Recipients | saga, serhiy.storchaka |
| Date | 2018-12-20.08:32:12 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1545294732.15.0.788709270274.issue35543@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
|---|
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. |
| History | |||
|---|---|---|---|
| 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 |
Powered by Roundup Copyright © 1990-2022, Python Software Foundation
Legal Statements
