diff options
author | Georg Brandl <georg@python.org> | 2009-06-08 07:49:54 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2009-06-08 07:49:54 (GMT) |
commit | 4049ce080ccf2f06ae9f2270e9e507365d45071e (patch) | |
tree | 87e188b9a9a99ac5c99304bb6cb23efc5d61dad3 /Doc/library | |
parent | ed2a1db59d791f202b4296ac3b148072422f371a (diff) | |
download | cpython-4049ce080ccf2f06ae9f2270e9e507365d45071e.zip cpython-4049ce080ccf2f06ae9f2270e9e507365d45071e.tar.gz cpython-4049ce080ccf2f06ae9f2270e9e507365d45071e.tar.bz2 |
#6235: ASCII also affects \[dD] escapes.
Diffstat (limited to 'Doc/library')
-rw-r--r-- | Doc/library/re.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/re.rst b/Doc/library/re.rst index ee21186..5c70372 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 |