Issue #21593: (from StackOverflow) minor doc clarification for re.search.

This commit is contained in:
Terry Jan Reedy 2014-05-30 16:19:59 -04:00
parent c673a9ab87
commit 0edb5c1668

View 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