码迷,mamicode.com
首页 > 编程语言 > 详细

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

时间:2018-09-24 00:42:38      阅读:1481      评论:0      收藏:0      [点我收藏+]

标签:正则表达   err   解决   src   http   分享图片   检查   使用   type   

 

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

技术分享图片

 

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

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

标签:正则表达   err   解决   src   http   分享图片   检查   使用   type   

原文地址:https://www.cnblogs.com/xiangsui/p/9694031.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!