summaryrefslogtreecommitdiffstats
path: root/Doc/howto/regex.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2011-03-06 10:07:11 (GMT)
committerGeorg Brandl <georg@python.org>2011-03-06 10:07:11 (GMT)
commita2388be2af60e6eac4df5ae6bcce1658fd4cd276 (patch)
tree4854700699781ebe26ac0c79310e8c7242be92d1 /Doc/howto/regex.rst
parent45ec333c72aaea21e95271c3b415679a2f79f269 (diff)
downloadcpython-a2388be2af60e6eac4df5ae6bcce1658fd4cd276.zip
cpython-a2388be2af60e6eac4df5ae6bcce1658fd4cd276.tar.gz
cpython-a2388be2af60e6eac4df5ae6bcce1658fd4cd276.tar.bz2
#11239: add } to list of metacharacters (it is only a metacharacter sometimes, ie. when closing a {n,m} group, but so is ].
Diffstat (limited to 'Doc/howto/regex.rst')
-rw-r--r--Doc/howto/regex.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/howto/regex.rst b/Doc/howto/regex.rst
index 8f39eeb..07a8b56 100644
--- a/Doc/howto/regex.rst
+++ b/Doc/howto/regex.rst
@@ -76,7 +76,7 @@ devoted to discussing various metacharacters and what they do.
Here's a complete list of the metacharacters; their meanings will be discussed
in the rest of this HOWTO. ::
- . ^ $ * + ? { [ ] \ | ( )
+ . ^ $ * + ? { } [ ] \ | ( )
The first metacharacters we'll look at are ``[`` and ``]``. They're used for
specifying a character class, which is a set of characters that you wish to