mirror of https://github.com/python/cpython
Merge with 3.4
This commit is contained in:
commit
069c87bee4
|
@ -563,7 +563,7 @@ form.
|
||||||
|
|
||||||
.. function:: search(pattern, string, flags=0)
|
.. 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
|
*pattern* produces a match, and return a corresponding :ref:`match object
|
||||||
<match-objects>`. Return ``None`` if no position in the string matches the
|
<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
|
pattern; note that this is different from finding a zero-length match at some
|
||||||
|
|
Loading…
Reference in New Issue