Message308279
No, this is not how fullmatch() works. Otherwise there wouldn't be need to add it into the stdlib. You could just check end() of the result.
fullmatch() acts like match() with added \Z. But if the pattern contains multiple alternates you need to add \Z at the end of every branch (r"foo\Z|bar\Z") or wrap the entire patch in a non-capturing group (r"(?:foo|bar)\Z"). |
|
Date |
User |
Action |
Args |
2017-12-14 08:10:33 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, danielhrisca |
2017-12-14 08:10:33 | serhiy.storchaka | set | messageid: <1513239033.54.0.213398074469.issue32319@psf.upfronthosting.co.za> |
2017-12-14 08:10:33 | serhiy.storchaka | link | issue32319 messages |
2017-12-14 08:10:33 | serhiy.storchaka | create | |
|