mirror of https://github.com/python/cpython.git
document restriction on group names
This commit is contained in:
parent
8df3637fee
commit
7defee7a06
|
@ -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}
|
||||
|
|
|
@ -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}
|
||||
|
|
Loading…
Reference in New Issue