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

 

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

 

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

posted @ 2018-09-23 22:36  bp9jISKIN  阅读(24078)  评论(0编辑  收藏  举报