diff --git a/README.md b/README.md index a88494f..19637c4 100644 --- a/README.md +++ b/README.md @@ -377,7 +377,7 @@ import re ### Special Sequences * **By default, decimal characters, alphanumerics and whitespaces from all alphabets are matched unless `'flags=re.ASCII'` argument is used.** -* **As shown below, it restricts special sequence matches to the first 128 characters and prevents `'\s'` from accepting `'[\x1c\x1d\x1e\x1f]'`.** +* **As shown below, it restricts special sequence matches to the first 128 characters and prevents `'\s'` from accepting `'[\x1c-\x1f]'`.** * **Use a capital letter for negation.** ```python '\d' == '[0-9]' # Matches decimal characters. diff --git a/index.html b/index.html index bc15fc5..bc964be 100644 --- a/index.html +++ b/index.html @@ -508,7 +508,7 @@ to_exclusive = <range>.stop
'flags=re.ASCII'
argument is used.'\s'
from accepting '[\x1c\x1d\x1e\x1f]'
.'\s'
from accepting '[\x1c-\x1f]'
.'\d' == '[0-9]' # Matches decimal characters.
'\w' == '[a-zA-Z0-9_]' # Matches alphanumerics and underscore.