cpython: 6013a112aba0 (original) (raw)
Mercurial > cpython
changeset 90917:6013a112aba0 3.4
Issue #21593: (from StackOverflow) minor doc clarification for re.search. [#21593]
Terry Jan Reedy tjreedy@udel.edu | |
---|---|
date | Fri, 30 May 2014 16:19:59 -0400 |
parents | 220bed23696e |
children | b68035e0c9b6 53fa2c9523d4 |
files | Doc/library/re.rst |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-)[+] [-] Doc/library/re.rst 2 |
line wrap: on
line diff
--- a/Doc/library/re.rst +++ b/Doc/library/re.rst @@ -563,7 +563,7 @@ form. .. function:: search(pattern, string, flags=0)
- Scan through string looking for the first location where the regular expression
pattern produces a match, and return a corresponding :ref:
match object[](#l1.9) <match-objects>
. ReturnNone
if no position in the string matches the pattern; note that this is different from finding a zero-length match at some