]> granicus.if.org Git - python/commitdiff
Issue #21593: (from StackOverflow) minor doc clarification for re.search.
authorTerry Jan Reedy <tjreedy@udel.edu>
Fri, 30 May 2014 20:19:59 +0000 (16:19 -0400)
committerTerry Jan Reedy <tjreedy@udel.edu>
Fri, 30 May 2014 20:19:59 +0000 (16:19 -0400)
Doc/library/re.rst

index 1fa1cc0c6012acade20a8536c1a70494570e9272..7679bc243c74aced7e628f9bc34a37387319c7e5 100644 (file)
@@ -563,7 +563,7 @@ form.
 
 .. function:: search(pattern, string, flags=0)
 
-   Scan through *string* looking for a location where the regular expression
+   Scan through *string* looking for the first location where the regular expression
    *pattern* produces a match, and return a corresponding :ref:`match object
    <match-objects>`.  Return ``None`` if no position in the string matches the
    pattern; note that this is different from finding a zero-length match at some