[Python-checkins] cpython (2.7): #11239: add } to list of metacharacters (it is only a metacharacter sometimes, (original) (raw)
georg.brandl python-checkins at python.org
Sun Mar 6 11:17:50 CET 2011
- Previous message: [Python-checkins] cpython (2.7): #11373: fix spelling.
- Next message: [Python-checkins] cpython (2.7): #11294: add missing ERA_T_FMT to locale docs.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
http://hg.python.org/cpython/rev/8d60032c7695 changeset: 68297:8d60032c7695 branch: 2.7 user: Georg Brandl <georg at python.org> date: Sun Mar 06 11:07:11 2011 +0100 summary: #11239: add } to list of metacharacters (it is only a metacharacter sometimes, ie. when closing a {n,m} group, but so is ].
files: Doc/howto/regex.rst
diff --git a/Doc/howto/regex.rst b/Doc/howto/regex.rst --- a/Doc/howto/regex.rst +++ b/Doc/howto/regex.rst @@ -81,7 +81,7 @@ 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
-- Repository URL: http://hg.python.org/cpython
- Previous message: [Python-checkins] cpython (2.7): #11373: fix spelling.
- Next message: [Python-checkins] cpython (2.7): #11294: add missing ERA_T_FMT to locale docs.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]