summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2012-04-29 10:35:55 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2012-04-29 10:35:55 (GMT)
commit3899283670b48e92260a42ce820570aef1767158 (patch)
treebb2f8b80cd7cdca92e2b984220a7b0342668afa8
parenta0b1d1eea2aed2ed04b8cf62f2d34038e1bfc9b6 (diff)
downloadcpython-3899283670b48e92260a42ce820570aef1767158.zip
cpython-3899283670b48e92260a42ce820570aef1767158.tar.gz
cpython-3899283670b48e92260a42ce820570aef1767158.tar.bz2
#14236: fix docs for \S.
-rw-r--r--Lib/re.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/re.py b/Lib/re.py
index 45de5a2..85c5a57 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