python正则之模式re.I re.M

re.I 忽略大小写
>>> re.match(r"A","abc",re.I)
<_sre.SRE_Match object at 0x0000000001F1A510>
re.M,将所有行的尾字母输出 multiple
原文地址:https://www.cnblogs.com/zyy98877/p/8533580.html