summaryrefslogtreecommitdiff
path: root/Doc
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2011-03-06 11:07:11 +0100
committerGeorg Brandl <georg@python.org>2011-03-06 11:07:11 +0100
commit5ecd3f13e23bf3719b00ade07fd91b8d5da5f0bd (patch)
tree4316df949edcc9bb1af64ff511800792b477d319 /Doc
parentb4569ddf22e3890a5a08678bf4a66015f1ec7cf5 (diff)
downloadcpython-5ecd3f13e23bf3719b00ade07fd91b8d5da5f0bd.tar.gz
#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')
-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 1005c23f41..1523c48664 100644
--- a/Doc/howto/regex.rst
+++ b/Doc/howto/regex.rst
@@ -81,7 +81,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