[issue11262] re.sub replaces only first 32 matches with re.U flag

SilentGhost report at bugs.python.org
Mon Feb 21 00:01:05 CET 2011


SilentGhost <ghost.adh at gmail.com> added the comment:

If you read docs carefully, you notice that re.sub doesn't accept flags argument. Its 4th argument is count, re.U numerical value is 32.

Closing as invalid. There are some duplicates too, I'm sure.

----------
nosy: +SilentGhost
resolution:  -> invalid
status: open -> closed

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


More information about the Python-bugs-list mailing list