摘要: 至少出现一次。 和*号的区别在于* 可以出现零次。 + 示例 line = "tpyyyyyyypbpr123" regex_str = ".*?(p.+?p).*" match_result = re.match(regex_str, line) if match_result: print(ma 阅读全文
posted @ 2019-09-16 08:23 沧海红心_田帅 阅读(17) 评论(0) 推荐(0)