Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
75afc0b9
Commit
75afc0b9
authored
Oct 18, 2000
by
Andrew M. Kuchling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document the .lastindex and .lastgroup attributes of MatchObject
parent
ba0a9899
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
Doc/lib/libre.tex
Doc/lib/libre.tex
+10
-0
No files found.
Doc/lib/libre.tex
View file @
75afc0b9
...
...
@@ -733,6 +733,16 @@ The value of \var{endpos} which was passed to the
the string beyond which the regex engine will not go.
\end{memberdesc}
\begin{memberdesc}
[MatchObject]
{
lastgroup
}
The name of the last matched capturing group, or
\code
{
None
}
if the
group didn't have a name, or if no group was matched at all.
\end{memberdesc}
\begin{memberdesc}
[MatchObject]
{
lastindex
}
The integer index of the last matched capturing group, or
\code
{
None
}
if no group was matched at all.
\end{memberdesc}
\begin{memberdesc}
[MatchObject]
{
re
}
The regular expression object whose
\method
{
match()
}
or
\method
{
search()
}
method produced this
\class
{
MatchObject
}
instance.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment