[docs] [issue11283] incorrect pattern in the re module docs for conditional regex

Senthil Kumaran report at bugs.python.org
Mon Feb 28 04:42:15 CET 2011

Senthil Kumaran <orsenthil at gmail.com> added the comment:

On Tue, Feb 22, 2011 at 08:48:20AM +0000, wesley chun wrote:
> The fix is to add the end char '$' to the regex to get all 4 working:

Better would be a regex for white-space '\s' which would achieve the
same purpose plus it would satisfy the other requirement for using it
with search and can do the search in-middle of the document too.

nosy: +orsenthil

Python tracker <report at bugs.python.org>

More information about the docs mailing list