Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3899283

Browse files
committed
#14236: fix docs for \S.
1 parent a0b1d1e commit 3899283

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/re.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
bytes patterns or string patterns with the ASCII flag.
7474
In string patterns without the ASCII flag, it will match the whole
7575
range of Unicode whitespace characters.
76-
\S Matches any non-whitespace character; equiv. to [^ \t\n\r\f\v].
76+
\S Matches any non-whitespace character; equivalent to [^\s].
7777
\w Matches any alphanumeric character; equivalent to [a-zA-Z0-9_]
7878
in bytes patterns or string patterns with the ASCII flag.
7979
In string patterns without the ASCII flag, it will match the

0 commit comments

Comments
 (0)