From: Georg Brandl Date: Sun, 6 Mar 2011 10:07:11 +0000 (+0100) Subject: #11239: add } to list of metacharacters (it is only a metacharacter sometimes, ie... X-Git-Tag: v2.7.2rc1~277 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f125a9a9aafa39399188c5d3bcc18c092bd0b779;p=python #11239: add } to list of metacharacters (it is only a metacharacter sometimes, ie. when closing a {n,m} group, but so is ]. --- 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