Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a6b541 commit e990092Copy full SHA for e990092
1 file changed
Lib/re.py
@@ -69,7 +69,10 @@
69
In string patterns without the ASCII flag, it will match the whole
70
range of Unicode digits.
71
\D Matches any non-digit character; equivalent to [^\d].
72
- \s Matches any whitespace character; equivalent to [ \t\n\r\f\v].
+ \s Matches any whitespace character; equivalent to [ \t\n\r\f\v] in
73
+ bytes patterns or string patterns with the ASCII flag.
74
+ In string patterns without the ASCII flag, it will match the whole
75
+ range of Unicode whitespace characters.
76
\S Matches any non-whitespace character; equiv. to [^ \t\n\r\f\v].
77
\w Matches any alphanumeric character; equivalent to [a-zA-Z0-9_]
78
in bytes patterns or string patterns with the ASCII flag.
0 commit comments