摘要: import rereg = re.compile(r"voip", re.IGNORECASE)print reg.findall("23oipvoipsnvoipc")输出['voip', 'voip']findall() 找到 RE 匹配的所有子串,并把它们作为一个列表返回http://wik... 阅读全文
posted @ 2014-06-10 22:29 helloweworld 阅读(1169) 评论(0) 推荐(0) 编辑