diff options
author | Georg Brandl <georg@python.org> | 2010-05-22 08:17:23 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2010-05-22 08:17:23 (GMT) |
commit | f93ce0c1f53bf8507eb970b7113c93994ce682a0 (patch) | |
tree | fbe21875b99e8a54b5ce0a612ff10fb6ed13a054 /Doc | |
parent | 262be5e70bd75520d3d95a19ceda3eb97bd7045c (diff) | |
download | cpython-f93ce0c1f53bf8507eb970b7113c93994ce682a0.zip cpython-f93ce0c1f53bf8507eb970b7113c93994ce682a0.tar.gz cpython-f93ce0c1f53bf8507eb970b7113c93994ce682a0.tar.bz2 |
#8785: less confusing description of regex.find*.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/re.rst | 8 |
1 files 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]) |