解决办法是对于正则表达式模式(patterns)使用Python 的原始字符串表示法;在带有 'r' ... match() 和 search() 返回 None 所以你可以简单的用 if 语句来判断是否匹配.
確定! 回上一頁