2019年12月12日

python数据挖掘第一篇:正则表达式

摘要: 正则表达式 re 模块 1. re.match(pattern,string[,flag]) match方法 从首字母开始匹配,如果包含pattern字符串,则匹配成功,返回match对象,失败则返回None. 【注】只从起始位置开始匹配 ,flag表示可选项 re.I 使匹配对大小写不敏感 re. 阅读全文

posted @ 2019-12-12 15:25 忆往昔、此去经年 阅读(253) 评论(0) 推荐(0) 编辑

导航