From 69c7a69cbec2a69dcfd66f60f601770b61ffda93 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Wed, 14 Mar 2012 08:02:43 +0100 Subject: Closes #14283: match() and search() are regex methods, not match methods. --- Doc/library/re.rst | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Doc/library/re.rst b/Doc/library/re.rst index 93224f1..5a14408 100644 --- a/Doc/library/re.rst +++ b/Doc/library/re.rst @@ -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 `. 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 `. 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 `. This - is the index into the string beyond which the RE engine will not go. + :meth:`~regex.match` method of a :ref:`regex object `. This is + the index into the string beyond which the RE engine will not go. .. attribute:: match.lastindex -- cgit v0.12