summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-05-22 08:17:23 (GMT)
committerGeorg Brandl <georg@python.org>2010-05-22 08:17:23 (GMT)
commitf93ce0c1f53bf8507eb970b7113c93994ce682a0 (patch)
treefbe21875b99e8a54b5ce0a612ff10fb6ed13a054 /Doc
parent262be5e70bd75520d3d95a19ceda3eb97bd7045c (diff)
downloadcpython-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.rst8
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])