diff options
author | Guido van Rossum <guido@python.org> | 1995-02-27 17:52:35 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1995-02-27 17:52:35 (GMT) |
commit | 7defee7a06637633d3561f752b644b21d4797243 (patch) | |
tree | c76d1c806c6ad3a39cc36da38247d06893b5181e /Doc/lib/libregex.tex | |
parent | 8df3637feeff3c6bdc60a997efb9b4602d0fa0f2 (diff) | |
download | cpython-7defee7a06637633d3561f752b644b21d4797243.zip cpython-7defee7a06637633d3561f752b644b21d4797243.tar.gz cpython-7defee7a06637633d3561f752b644b21d4797243.tar.bz2 |
document restriction on group names
Diffstat (limited to 'Doc/lib/libregex.tex')
-rw-r--r-- | Doc/lib/libregex.tex | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/lib/libregex.tex b/Doc/lib/libregex.tex index f3df684..10abece 100644 --- a/Doc/lib/libregex.tex +++ b/Doc/lib/libregex.tex @@ -88,7 +88,8 @@ parentheses-enclosed group begins with a group name in angular brackets, e.g. \code{'\e(<id>[a-z][a-z0-9]*\e)'}, the group can be referenced by its name in arguments to the \code{group} method of the resulting compiled regular expression object, like this: -\code{p.group('id')}. +\code{p.group('id')}. Group names may contain alphanumeric characters +and \code{'_'} only. \end{funcdesc} \begin{excdesc}{error} |