[Python-Dev] Possible bug in `re` module in Python 3.11?