摘要: 一、re模块 re模块中常用的方法。 match: 默认从字符串开头开始匹配,re.match('fun', 'funny') 可以匹配出来 'fun' match(pattern, string, flags=0): """Try to apply the pattern at the start 阅读全文
posted @ 2018-08-13 02:10 G1733 阅读(289) 评论(0) 推荐(0) 编辑