Issue #10875: Update Regular Expression HOWTO; additional backport.

This commit is contained in:
Terry Reedy 2011-01-10 23:16:24 +00:00
parent 8663e346dc
commit 23f4fb9a96

View File

@ -107,7 +107,10 @@ meaning: ``\[`` or ``\\``.
Some of the special sequences beginning with ``'\'`` represent predefined sets Some of the special sequences beginning with ``'\'`` represent predefined sets
of characters that are often useful, such as the set of digits, the set of of characters that are often useful, such as the set of digits, the set of
letters, or the set of anything that isn't whitespace. The following predefined letters, or the set of anything that isn't whitespace. The following predefined
special sequences are available: special sequences are a subset of those available. The equivalent classes are
for bytes patterns. For a complete list of sequences and expanded class
definitions for Unicode string patterns, see the last part of
:ref:`Regular Expression Syntax <re-syntax>`.
``\d`` ``\d``
Matches any decimal digit; this is equivalent to the class ``[0-9]``. Matches any decimal digit; this is equivalent to the class ``[0-9]``.