摘要: re正则表达式: 导入方法:import re example: import re pat = "yue" string = "https://yue.com" result = re.search(pat,string) print(result) 通用字符也可以作为原子: \w:可以匹配任意的 阅读全文
posted @ 2019-05-31 21:19 zx1 阅读(167) 评论(0) 推荐(0) 编辑