Matthew Barnett added the comment: The pattern '\</?root\>', which is the same as '</?root>', matches the string '<root>', and that is replaced with ''.
---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26354> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com