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






評(píng)論(0)


暫無數(shù)據(jù)
CDA考試動(dòng)態(tài)
CDA報(bào)考指南
推薦帖子
0條評(píng)論
0條評(píng)論
0條評(píng)論
0條評(píng)論