摘要: # coding=utf-8 # Author: RyAn Bi import re res = re.match('Ryan','Ryan123abcdefg456') #匹配2个字符串中相似的部分 print(res) print(res.group()) #只显示相同部分 res1 = re. 阅读全文
posted @ 2019-11-19 16:47 bbgoal 阅读(154) 评论(0) 推荐(0) 编辑