diff --git a/Lib/re.py b/Lib/re.py index 69bd1c7e700..9ae51740e4a 100644 --- a/Lib/re.py +++ b/Lib/re.py @@ -73,7 +73,7 @@ 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