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 MLModel
Recipients MLModel, georg.brandl
Date 2009-08-10.20:10:36
SpamBayes Score 0.00039853476
Marked as misclassified No
Message-id <1249935038.17.0.324286013964.issue6679@psf.upfronthosting.co.za>
In-reply-to
Content
The documentation of re.sub states:

"The pattern may be a string or an RE object; if you need to specify
regular expression flags, you must use a RE object, or use embedded
modifiers in a pattern; for example, sub("(?i)b+", "x", "bbbb BBBB")
returns 'x x'."

but there is now a flags argument so that paragraph should be deleted.
History
Date User Action Args
2009-08-10 20:10:38MLModelsetrecipients: + MLModel, georg.brandl
2009-08-10 20:10:38MLModelsetmessageid: <1249935038.17.0.324286013964.issue6679@psf.upfronthosting.co.za>
2009-08-10 20:10:36MLModellinkissue6679 messages
2009-08-10 20:10:36MLModelcreate