This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Joshua.Landau
Recipients Joshua.Landau, docs@python
Date 2014-05-28.14:39:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1401287966.38.0.860641123785.issue21593@psf.upfronthosting.co.za>
In-reply-to
Content
The documentation for re.search does not state that it returns the first match. This should be added, or a clarification added if this is implementation-defined.

https://docs.python.org/3/library/re.html#re.search

---

See also

http://stackoverflow.com/questions/23906400/is-regular-expression-search-guaranteed-to-return-first-match
History
Date User Action Args
2014-05-28 14:39:26Joshua.Landausetrecipients: + Joshua.Landau, docs@python
2014-05-28 14:39:26Joshua.Landausetmessageid: <1401287966.38.0.860641123785.issue21593@psf.upfronthosting.co.za>
2014-05-28 14:39:25Joshua.Landaulinkissue21593 messages
2014-05-28 14:39:24Joshua.Landaucreate