gh-102259: Fix re doc issue regarding right square brackets (#102264)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
This commit is contained in:
Skip Montanaro 2023-02-25 20:22:16 -06:00 committed by GitHub
parent d71edbd1b7
commit bcadcde712
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -271,7 +271,8 @@ The special characters are:
* To match a literal ``']'`` inside a set, precede it with a backslash, or * 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 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
.. .. index:: single: &&; in regular expressions .. .. index:: single: &&; in regular expressions