摘要: # _*_ coding:utf-8 _*_ import re line = "Cats are smarter than dogs" matchObj = re.match(r'(.*) are (.*?) .*', line, re.M|re.I) if matchObj: print("matchObj.group():", matchObj.group()) pri... 阅读全文
posted @ 2016-04-23 12:12 楊柳 阅读(230) 评论(0) 推荐(0) 编辑