]> 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:50 +0000 (16:19 -0400)
committerTerry Jan Reedy <tjreedy@udel.edu>
Fri, 30 May 2014 20:19:50 +0000 (16:19 -0400)
Doc/library/re.rst

index 91afbd497c945e32446dce3a0d328e32dd70e0a7..52909adce1686621aecc12d3b2506cc99f72b682 100644 (file)
@@ -527,7 +527,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 :class:`MatchObject`
    instance. Return ``None`` if no position in the string matches the pattern; note
    that this is different from finding a zero-length match at some point in the