]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-151819: Clarify the conditional-pattern email example in re docs (GH-153072)
authorSerhiy Storchaka <storchaka@gmail.com>
Sun, 5 Jul 2026 07:48:02 +0000 (10:48 +0300)
committerGitHub <noreply@github.com>
Sun, 5 Jul 2026 07:48:02 +0000 (07:48 +0000)
commitfe9c7213e6576e27ebff6ef039706cd463593310
treecce56671be573d651728943e552c635c96abe299
parent600e86490fddf4732e8b993058ca011cc6387464
gh-151819: Clarify the conditional-pattern email example in re docs (GH-153072)

The example pattern does not fail to match '<user@host.com' outright --
re.search finds 'user@host.com' in it; it only fails to match the
whole string.  Reword to say so.

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Doc/library/re.rst