详解re.match函数的各个方面(re.match函数的使用详解)

一、rematch函数忽视大小写 在使用正则表达式匹配时,有时会遇到大小写不一致的情况。re.match函数提供了一个忽略大小写的参数,使得匹配更加灵活。 import re # 匹配单词cat,不区 … Continue reading 详解re.match函数的各个方面(re.match函数的使用详解)