摘要: re.match函数 re.match 尝试从字符串的起始位置匹配一个模式,如果不是起始位置匹配成功的话,match()就返回none。 函数语法: re.match(pattern, string, flags=0) 函数参数说明: 参数描述 pattern 匹配的正则表达式 string 要匹配 阅读全文
posted @ 2020-10-01 11:21 Lunais 阅读(558) 评论(0) 推荐(0) 编辑