diff --git a/Doc/library/re.rst b/Doc/library/re.rst index 716d3401a2bb0d..1df9cbe5ea1c6b 100644 --- a/Doc/library/re.rst +++ b/Doc/library/re.rst @@ -232,7 +232,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