正则表达式常用指令

match_re = re.compile(reg) 匹配一行的内容
match_re = re.compile(reg,re.DOTALL) 匹配多行的内容
发布了9 篇原创文章 · 获赞 3 · 访问量 1万+

猜你喜欢

转载自blog.csdn.net/zerfew/article/details/84076086