diff options
| -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]) |
