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…
[View More]_______________________________________
Python tracker <report(a)bugs.python.org>
<http://bugs.python.org/issue24108>
_______________________________________
[View Less]