上述代码中, re.match(pattern, string, flags=0) 方法用来判断字符串 string 是否以正则表达式 pattern 开头。 re.IGNORECASE 参数表示在比较时忽略大小写。
確定! 回上一頁