Merlijn van Deen added the comment: They are subtly different; the new regex also matches filenames with newlines, the old one doesn't (see Issue #6665 [1]).
Patch (although crazily minor) attached. With some fuzz, it applies on everything from 2.6..default. [1] https://bugs.python.org/issue6665 ---------- assignee: -> docs@python components: +Documentation -asyncio keywords: +patch nosy: +docs@python Added file: http://bugs.python.org/file39261/default.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue24108> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com