PYTHON之路(五)
摘要:
正则表达式用compile方法先生成要匹配的正则对象 相当于m=re.match("^[0-9]","18ruue");print m.group()re.matchre.searchre.subre.findallre.splitre.search ---- > group re.split re 阅读全文
posted @ 2016-02-27 16:00 251744647 阅读(197) 评论(0) 推荐(0) 编辑