摘要: re.match(pattern, string, flags) #Only beginning of the string re.search(pattern, string, flags) #Searches everywhere of the string import re string = 阅读全文
posted @ 2020-03-03 14:52 Lovange 阅读(146) 评论(0) 推荐(0)
摘要: 意思: Regular expressions are compiled into pattern objects, which have methods for various operations such as searching for pattern matches or performi 阅读全文
posted @ 2020-03-03 14:37 Lovange 阅读(832) 评论(0) 推荐(0)