From 7d6274dd81096b96afa45949af720f3ee09b619f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Wed, 11 Mar 2020 11:51:23 +0100 Subject: [PATCH] Regex --- README.md | 2 +- index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b279b43..ad91f24 100644 --- a/README.md +++ b/README.md @@ -377,7 +377,7 @@ import re ``` ### Special Sequences -* **By default digits, whitespaces and alphanumerics from all alphabets are matched, unless `'flags=re.ASCII'` argument is used.** +* **By default digits, alphanumerics and whitespaces from all alphabets are matched, unless `'flags=re.ASCII'` argument is used.** * **Use a capital letter for negation.** ```python '\d' == '[0-9]' # Matches any digit. diff --git a/index.html b/index.html index 224129b..e91b315 100644 --- a/index.html +++ b/index.html @@ -484,7 +484,7 @@ to_exclusive = <range>.stop

Special Sequences

'\d' == '[0-9]'                                # Matches any digit.
 '\w' == '[a-zA-Z0-9_]'                         # Matches any alphanumeric.