From f93ce0c1f53bf8507eb970b7113c93994ce682a0 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Sat, 22 May 2010 08:17:23 +0000 Subject: #8785: less confusing description of regex.find*. --- Doc/library/re.rst | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Doc/library/re.rst b/Doc/library/re.rst index 758d02e..2be4f74 100644 --- a/Doc/library/re.rst +++ b/Doc/library/re.rst @@ -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]) -- cgit v0.12