摘要: 正则表达式函数:正则表达式函数有:re.match()函数、re.search()函数、全局匹配函数、re.sub()函数 match():从头开始匹配 string = "Poythonpty" pat = "p.*?y" pat1 = "y.*" rst = re.match(pat, stri 阅读全文
posted @ 2020-01-04 13:56 CesareCheung 阅读(476) 评论(0) 推荐(0) 编辑