Skip to content

Commit a2388be

Browse files
committed
python#11239: add } to list of metacharacters (it is only a metacharacter sometimes, ie. when closing a {n,m} group, but so is ].
1 parent 45ec333 commit a2388be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/howto/regex.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ devoted to discussing various metacharacters and what they do.
7676
Here's a complete list of the metacharacters; their meanings will be discussed
7777
in the rest of this HOWTO. ::
7878

79-
. ^ $ * + ? { [ ] \ | ( )
79+
. ^ $ * + ? { } [ ] \ | ( )
8080

8181
The first metacharacters we'll look at are ``[`` and ``]``. They're used for
8282
specifying a character class, which is a set of characters that you wish to

0 commit comments

Comments
 (0)