2021-01-28
閱讀量:
2171
正則表達式中出現(xiàn)AttributeError: 'NoneType' object has no attribute 'group'問題
import recontent = 'hello world'result = re.match('^w.*d$', content)#這是想只提取worldprint(result)print(result.group())






評論(0)


暫無數(shù)據(jù)
推薦帖子
0條評論
0條評論
0條評論
0條評論