mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
document restriction on group names
This commit is contained in:
parent
8df3637fee
commit
7defee7a06
2 changed files with 4 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue