因为re.match('[0-3]','abcdsws4sawqe1sad')返回的就是个None看错误提示,AttributeError: 'NoneType' object has no attribute 'group'm的类型就是None,None哪来的group.错误追踪描述的很清楚了