[Python-checkins] r73285 - python/branches/py3k/Doc/library/re.rst
georg.brandl
python-checkins at python.org
Mon Jun 8 09:49:54 CEST 2009
Author: georg.brandl
Date: Mon Jun 8 09:49:54 2009
New Revision: 73285
Log:
#6235: ASCII also affects \[dD] escapes.
Modified:
python/branches/py3k/Doc/library/re.rst
Modified: python/branches/py3k/Doc/library/re.rst
==============================================================================
--- python/branches/py3k/Doc/library/re.rst (original)
+++ python/branches/py3k/Doc/library/re.rst Mon Jun 8 09:49:54 2009
@@ -479,9 +479,9 @@
.. 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
More information about the Python-checkins
mailing list