![](https://secure.gravatar.com/avatar/d67ab5d94c2fed8ab6b727b62dc1b213.jpg?s=120&d=mm&r=g)
Oct. 21, 2023
8:31 p.m.
On Sun, 22 Oct 2023 at 11:29, MRAB <python@mrabarnett.plus.com> wrote:
I think what the OP wants is to have re.match either return a match or raise an exception.
Yes, and my point is that simply attempting to access an attribute will do exactly that. It's not a silent failure. Why create a new argument, then mandate that you use it everywhere, just to achieve what's already happening? ChrisA