summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-06-08 07:49:54 +0000
committerGeorg Brandl <georg@python.org>2009-06-08 07:49:54 +0000
commit4049ce080ccf2f06ae9f2270e9e507365d45071e (patch)
tree87e188b9a9a99ac5c99304bb6cb23efc5d61dad3
parented2a1db59d791f202b4296ac3b148072422f371a (diff)
downloadcpython-git-4049ce080ccf2f06ae9f2270e9e507365d45071e.tar.gz
#6235: ASCII also affects \[dD] escapes.
-rw-r--r--Doc/library/re.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/re.rst b/Doc/library/re.rst
index ee21186ac9..5c70372343 100644
--- a/Doc/library/re.rst
+++ b/Doc/library/re.rst
@@ -479,9 +479,9 @@ form.
.. data:: A
ASCII
- Make ``\w``, ``\W``, ``\b``, ``\B``, ``\s`` and ``\S`` perform ASCII-only
- matching instead of full Unicode matching. This is only meaningful for
- Unicode patterns, and is ignored for byte patterns.
+ Make ``\w``, ``\W``, ``\b``, ``\B``, ``\d``, ``\D``, ``\s`` and ``\S``
+ perform ASCII-only matching instead of full Unicode matching. This is only
+ meaningful for Unicode patterns, and is ignored for byte patterns.
Note that for backward compatibility, the :const:`re.U` flag still
exists (as well as its synonym :const:`re.UNICODE` and its embedded