摘要: 一,正则表达式 1.常用正则表达式符号 二,Python re 模块 常用的模块属性 三,实例 1.match()方法, 从字符串开始匹配,匹配成功返回匹配对象,否则返回None >>> m = re.match('foo', 'foo') # 模式匹配字符串>>> if m is not None 阅读全文
posted @ 2018-10-25 22:05 Gavin_Zhang 阅读(185) 评论(0) 推荐(0)