From: Georg Brandl Date: Sat, 22 May 2010 08:17:23 +0000 (+0000) Subject: #8785: less confusing description of regex.find*. X-Git-Tag: v2.7rc1~107 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f93ce0c1f53bf8507eb970b7113c93994ce682a0;p=thirdparty%2FPython%2Fcpython.git #8785: less confusing description of regex.find*. --- diff --git a/Doc/library/re.rst b/Doc/library/re.rst index 758d02e2e494..2be4f744d9f7 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])