Wayne Davison <wayne.davi...@mariadb.com> added the comment:
This is not the same thing because the match is anchored, so it is not adjacent to the prior match -- it is the same match. I think that r'\s*\Z' should behave the same way as r'\s*x' due to the anchor point. The current behavior is matching the same \Z twice. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue40027> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com