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

时间:2018-09-24 00:42:38   收藏:0   阅读:1481

 

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

技术分享图片

 

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

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!