From 0edb5c16683c76b65fe5c2d492aef3c570c27d70 Mon Sep 17 00:00:00 2001 From: Terry Jan Reedy Date: Fri, 30 May 2014 16:19:59 -0400 Subject: [PATCH] Issue #21593: (from StackOverflow) minor doc clarification for re.search. --- Doc/library/re.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/re.rst b/Doc/library/re.rst index 1fa1cc0c601..7679bc243c7 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 `. Return ``None`` if no position in the string matches the pattern; note that this is different from finding a zero-length match at some