From 4049ce080ccf2f06ae9f2270e9e507365d45071e Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Mon, 8 Jun 2009 07:49:54 +0000 Subject: [PATCH] #6235: ASCII also affects \[dD] escapes. --- Doc/library/re.rst | 6 +++--- 1 file 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 -- 2.50.1