diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2014-05-30 20:19:59 (GMT) |
---|---|---|
committer | Terry Jan Reedy <tjreedy@udel.edu> | 2014-05-30 20:19:59 (GMT) |
commit | 0edb5c16683c76b65fe5c2d492aef3c570c27d70 (patch) | |
tree | 6243174f902ebef79b275b085e3066f39e67c724 | |
parent | c673a9ab87e0090cab0de60803785a6fbed46eac (diff) | |
download | cpython-0edb5c16683c76b65fe5c2d492aef3c570c27d70.zip cpython-0edb5c16683c76b65fe5c2d492aef3c570c27d70.tar.gz cpython-0edb5c16683c76b65fe5c2d492aef3c570c27d70.tar.bz2 |
Issue #21593: (from StackOverflow) minor doc clarification for re.search.
-rw-r--r-- | Doc/library/re.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/re.rst b/Doc/library/re.rst index 1fa1cc0..7679bc2 100644 --- 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 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 |