mirror of
https://github.com/python/cpython.git
synced 2024-11-30 21:34:17 +08:00
Issue #10875: Update Regular Expression HOWTO; additional backport.
This commit is contained in:
parent
8663e346dc
commit
23f4fb9a96
@ -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]``.
|
||||
|
Loading…
Reference in New Issue
Block a user