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

 

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

 

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

posted @   bp9jISKIN  阅读(24229)  评论(0编辑  收藏  举报
努力加载评论中...
点击右上角即可分享
微信分享提示