summaryrefslogtreecommitdiff
path: root/Lib/re.py
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2012-04-29 13:35:55 +0300
committerEzio Melotti <ezio.melotti@gmail.com>2012-04-29 13:35:55 +0300
commita7958d2d36619a0433090885857b1d2adba119db (patch)
tree933a755816902330f5e230ec598b9f3f57ac6a83 /Lib/re.py
parentfca739226ac00e6010c8dc236a3a68efa0b85100 (diff)
downloadcpython-a7958d2d36619a0433090885857b1d2adba119db.tar.gz
#14236: fix docs for \S.
Diffstat (limited to 'Lib/re.py')
-rw-r--r--Lib/re.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/re.py b/Lib/re.py
index 45de5a2ffa..85c5a57024 100644
--- 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