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

Skip to content

Commit 4049ce0

Browse files
committed
#6235: ASCII also affects \[dD] escapes.
1 parent ed2a1db commit 4049ce0

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Doc/library/re.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -479,9 +479,9 @@ form.
479479
.. data:: A
480480
ASCII
481481

482-
Make ``\w``, ``\W``, ``\b``, ``\B``, ``\s`` and ``\S`` perform ASCII-only
483-
matching instead of full Unicode matching. This is only meaningful for
484-
Unicode patterns, and is ignored for byte patterns.
482+
Make ``\w``, ``\W``, ``\b``, ``\B``, ``\d``, ``\D``, ``\s`` and ``\S``
483+
perform ASCII-only matching instead of full Unicode matching. This is only
484+
meaningful for Unicode patterns, and is ignored for byte patterns.
485485

486486
Note that for backward compatibility, the :const:`re.U` flag still
487487
exists (as well as its synonym :const:`re.UNICODE` and its embedded

0 commit comments

Comments
 (0)