From: Georg Brandl Date: Mon, 8 Jun 2009 07:49:54 +0000 (+0000) Subject: #6235: ASCII also affects \[dD] escapes. X-Git-Tag: v3.1rc2~45 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4049ce080ccf2f06ae9f2270e9e507365d45071e;p=python #6235: ASCII also affects \[dD] escapes. --- 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