summaryrefslogtreecommitdiff
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
commitf125a9a9aafa39399188c5d3bcc18c092bd0b779 (patch)
treee9a696f5db5ca67cc7eba821a00cd6bd703da49d
parent3a610a561a4d37f0741dda1e316fd6c4b711ad8f (diff)
downloadcpython-git-f125a9a9aafa39399188c5d3bcc18c092bd0b779.tar.gz
#11239: add } to list of metacharacters (it is only a metacharacter sometimes, ie. when closing a {n,m} group, but so is ].
-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