“NoneType”对象没有属性“groups”我的代号: compileObj = re.compile('\b%s\b'%word) result = compileObj.search(sentence[j]) print result.gr ...2024-05-21 已阅读: n次