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 | |
parent | 8df3637feeff3c6bdc60a997efb9b4602d0fa0f2 (diff) | |
download | cpython-7defee7a06637633d3561f752b644b21d4797243.zip cpython-7defee7a06637633d3561f752b644b21d4797243.tar.gz cpython-7defee7a06637633d3561f752b644b21d4797243.tar.bz2 |
document restriction on group names
-rw-r--r-- | Doc/lib/libregex.tex | 3 | ||||
-rw-r--r-- | Doc/libregex.tex | 3 |
2 files changed, 4 insertions, 2 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} diff --git a/Doc/libregex.tex b/Doc/libregex.tex index f3df684..10abece 100644 --- a/Doc/libregex.tex +++ b/Doc/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} |