python3基础11(正则表达式及re模块)

#生成re对象 compile
# 之后再期调用 match search 返回匹配到的字符串
# findall 返回匹配结果的列表
#如果要对匹配的结果进行分组,可加(),并可通过数字 去应用
原文地址:https://www.cnblogs.com/NiceTime/p/10088981.html