]> granicus.if.org Git - python/commitdiff
#14236: fix docs for \S.
authorEzio Melotti <ezio.melotti@gmail.com>
Sun, 29 Apr 2012 10:35:55 +0000 (13:35 +0300)
committerEzio Melotti <ezio.melotti@gmail.com>
Sun, 29 Apr 2012 10:35:55 +0000 (13:35 +0300)
Lib/re.py

index 45de5a2ffa8c546c0461f12150308f900dbc29f9..85c5a570249f6272cd3b274fd2c362f9e2f11a0d 100644 (file)
--- a/Lib/re.py
+++ b/Lib/re.py
@@ -73,7 +73,7 @@ resulting RE will match the second character.
              bytes patterns or string patterns with the ASCII flag.
              In string patterns without the ASCII flag, it will match the whole
              range of Unicode whitespace characters.
-    \S       Matches any non-whitespace character; equiv. to [^ \t\n\r\f\v].
+    \S       Matches any non-whitespace character; equivalent to [^\s].
     \w       Matches any alphanumeric character; equivalent to [a-zA-Z0-9_]
              in bytes patterns or string patterns with the ASCII flag.
              In string patterns without the ASCII flag, it will match the