summaryrefslogtreecommitdiffstats
path: root/Doc/howto
diff options
context:
space:
mode:
authorTerry Reedy <tjreedy@udel.edu>2011-01-10 23:16:24 (GMT)
committerTerry Reedy <tjreedy@udel.edu>2011-01-10 23:16:24 (GMT)
commit23f4fb9a9655cac992811446b3c31647468a2c9c (patch)
tree7af45a525ba184e83bdf034d4b017da7d318bf8d /Doc/howto
parent8663e346dc719deb2ea40608d242a57e5d01bcfd (diff)
downloadcpython-23f4fb9a9655cac992811446b3c31647468a2c9c.zip
cpython-23f4fb9a9655cac992811446b3c31647468a2c9c.tar.gz
cpython-23f4fb9a9655cac992811446b3c31647468a2c9c.tar.bz2
Issue #10875: Update Regular Expression HOWTO; additional backport.
Diffstat (limited to 'Doc/howto')
-rw-r--r--Doc/howto/regex.rst5
1 files changed, 4 insertions, 1 deletions
diff --git a/Doc/howto/regex.rst b/Doc/howto/regex.rst
index 711a0d5..8f39eeb 100644
--- a/Doc/howto/regex.rst
+++ b/Doc/howto/regex.rst
@@ -107,7 +107,10 @@ meaning: ``\[`` or ``\\``.
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
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``
Matches any decimal digit; this is equivalent to the class ``[0-9]``.