Eric V. Smith <e...@trueblade.com> added the comment:
I'm suspicious that this differs per-OS. Please provide exact Python version information for each OS you list in your initial report. I suspect what you're seeing is related to this change: Changed in version 3.7: Empty matches for the pattern are replaced when adjacent to a previous non-empty match. ---------- components: +Regular Expressions -2to3 (2.x to 3.x conversion tool) nosy: +eric.smith, ezio.melotti, mrabarnett _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue41605> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com