Loading

摘要: 函数 re.match(pattern, string, flags=0),pattern为匹配的正则表达式,string为要匹配的字符串如果不是起始位置就匹配成功,match()就会返回none如果从起始位置匹配成功,其就会返回一个匹配对象 import re print(re.match('ww 阅读全文
posted @ 2020-11-04 18:19 lixin2020 阅读(94) 评论(0) 推荐(0)