python AttributeError: 'NoneType' object has no attribute 'group'

在使用正则表达式的过程中,经常报 AttributeError: 'NoneType' object has no attribute 'group' 的错。

经一步步检查,发现是【1】处写成小写了,改成大写字母后,完美解决。

猜你喜欢

转载自www.cnblogs.com/xiangsui/p/9694031.html
今日推荐