Matthew Barnett <pyt...@mrabarnett.plus.com> added the comment: Argument 4 of re.subn(...) is 'count', the maximum number of replacements to perform, but you're passing in the MULTILINE flag, which happens to have the integer value 8, hence you're limiting the maximum number of replacements to 8.
---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue11198> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com