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
69c7a69c
Commit
69c7a69c
authored
Mar 14, 2012
by
Georg Brandl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Closes #14283: match() and search() are regex methods, not match methods.
parent
7441a7ae
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
Doc/library/re.rst
Doc/library/re.rst
+4
-5
No files found.
Doc/library/re.rst
View file @
69c7a69c
...
...
@@ -944,16 +944,15 @@ support the following methods and attributes:
.. attribute:: match.pos
The value of *pos* which was passed to the :meth:`~regex.search` or
:meth:`~regex.match` method of a :ref:`match object <match-objects>`. This
is the index into the string at which the RE engine started looking for a
match.
:meth:`~regex.match` method of a :ref:`regex object <re-objects>`. This is
the index into the string at which the RE engine started looking for a match.
.. attribute:: match.endpos
The value of *endpos* which was passed to the :meth:`~regex.search` or
:meth:`~regex.match` method of a :ref:`
match object <match-objects>`. Th
is
is
the index into the string beyond which the RE engine will not go.
:meth:`~regex.match` method of a :ref:`
regex object <re-objects>`. This
is
the index into the string beyond which the RE engine will not go.
.. attribute:: match.lastindex
...
...
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