Matthew Barnett <pyt...@mrabarnett.plus.com> added the comment:
It's not a crash. It's complaining that you're referring to group 2 before defining it. The re module doesn't support forward references to groups, but only backward references to them. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue42871> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com