Regex: AttributeError: ‘NoneType’ object has no attribute ‘groups’
Works that way. The expression contains non-latin characters, so it usually fails. You’ve got to decode into Unicode and use re.U (Unicode) flag. I’m a beginner too and I faced that issue a couple of times myself.