]> granicus.if.org Git - python/commitdiff
#8785: less confusing description of regex.find*.
authorGeorg Brandl <georg@python.org>
Sat, 22 May 2010 08:17:23 +0000 (08:17 +0000)
committerGeorg Brandl <georg@python.org>
Sat, 22 May 2010 08:17:23 +0000 (08:17 +0000)
Doc/library/re.rst

index 758d02e2e494d89bc714ebfa56fc4d3393feb581..2be4f744d9f72dbbd29684d647fd059fa29154e6 100644 (file)
@@ -739,12 +739,16 @@ Regular Expression Objects
 
    .. 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])