[Python-checkins] r81463 - python/trunk/Doc/library/re.rst

georg.brandl python-checkins at python.org
Sat May 22 10:17:23 CEST 2010


Author: georg.brandl
Date: Sat May 22 10:17:23 2010
New Revision: 81463

Log:
#8785: less confusing description of regex.find*.

Modified:
   python/trunk/Doc/library/re.rst

Modified: python/trunk/Doc/library/re.rst
==============================================================================
--- python/trunk/Doc/library/re.rst	(original)
+++ python/trunk/Doc/library/re.rst	Sat May 22 10:17:23 2010
@@ -739,12 +739,16 @@
 
    .. method:: RegexObject.findall(string[, pos[, endpos]])
 
-      Identical to the :func:`findall` function, using the compiled pattern.
+      Similar to the :func:`findall` function, using the compiled pattern, but
+      also accepts optional *pos* and *endpos* parameters that limit the search
+      region like for :meth:`match`.
 
 
    .. method:: RegexObject.finditer(string[, pos[, endpos]])
 
-      Identical to the :func:`finditer` function, using the compiled pattern.
+      Similar to the :func:`finditer` function, using the compiled pattern, but
+      also accepts optional *pos* and *endpos* parameters that limit the search
+      region like for :meth:`match`.
 
 
    .. method:: RegexObject.sub(repl, string[, count=0])


More information about the Python-checkins mailing list