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 SilentGhost
Recipients LHampton, SilentGhost, docs@python, ezio.melotti, mrabarnett
Date 2020-03-22.22:40:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1584916838.68.0.888212510997.issue40043@roundup.psfhosted.org>
In-reply-to
Content
Leon, this most likely is not a bug, not because what's stated in documentation, but because you're most likely not testing what you think you do. Here is the test that you should be doing:

>>> re.match(r'(<)?(\w+@\w+(?:\.\w+)+)(?(1)>|$)', '<user@host.com')
>>>

No match. If there is a different output in your setup, please provide both the output and the details of your system and Python installation.
History
Date User Action Args
2020-03-22 22:40:38SilentGhostsetrecipients: + SilentGhost, ezio.melotti, mrabarnett, docs@python, LHampton
2020-03-22 22:40:38SilentGhostsetmessageid: <1584916838.68.0.888212510997.issue40043@roundup.psfhosted.org>
2020-03-22 22:40:38SilentGhostlinkissue40043 messages
2020-03-22 22:40:38SilentGhostcreate