summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Doc/library/re.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/library/re.rst b/Doc/library/re.rst
index d0a16b9..b7510b9 100644
--- a/Doc/library/re.rst
+++ b/Doc/library/re.rst
@@ -271,7 +271,8 @@ The special characters are:
* To match a literal ``']'`` inside a set, precede it with a backslash, or
place it at the beginning of the set. For example, both ``[()[\]{}]`` and
- ``[]()[{}]`` will both match a parenthesis.
+ ``[]()[{}]`` will match a right bracket, as well as left bracket, braces,
+ and parentheses.
.. .. index:: single: --; in regular expressions
.. .. index:: single: &&; in regular expressions