[issue17663] re.sub not replacing all

R. David Murray report at bugs.python.org
Mon Apr 8 15:36:01 CEST 2013


R. David Murray added the comment:

The fourth argument to re.sub is the replacement count.  You've passed it a flag.

----------
nosy: +r.david.murray
resolution:  -> invalid
stage:  -> committed/rejected
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17663>
_______________________________________


More information about the Python-bugs-list mailing list