yeting li <liyt at ios.ac.cn> added the comment: I'm sorry there was a typo just now. replace _\w*[a-zA-Z]\w* with (_\d*)+([a-zA-Z]([_\d])*)+ ---------- _______________________________________ Python tracker <report at bugs.python.org> <https://bugs.python.org/issue41715> _______________________________________