Georg Brandl added the comment: At least, the docs for re.M are consistent with the current behavior. __________________________________ Tracker <report at bugs.python.org> <http://bugs.python.org/issue1761> __________________________________