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: v3.2.1b1~342^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a2388be2af60e6eac4df5ae6bcce1658fd4cd276;p=thirdparty%2FPython%2Fcpython.git #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 8f39eeb52640..07a8b561d017 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