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 serhiy.storchaka
Recipients HaujetZhao, ezio.melotti, mrabarnett, serhiy.storchaka
Date 2020-11-23.19:42:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1606160527.58.0.876299005989.issue42448@roundup.psfhosted.org>
In-reply-to
Content
It looks correct to me. Of course, the result is different, because they are different functions. re.match() and re.search() return a match object (or None), and re.findall returns a list. What result did you expect?
History
Date User Action Args
2020-11-23 19:42:07serhiy.storchakasetrecipients: + serhiy.storchaka, ezio.melotti, mrabarnett, HaujetZhao
2020-11-23 19:42:07serhiy.storchakasetmessageid: <1606160527.58.0.876299005989.issue42448@roundup.psfhosted.org>
2020-11-23 19:42:07serhiy.storchakalinkissue42448 messages
2020-11-23 19:42:07serhiy.storchakacreate