摘要:
#coding=utf-8 #2018-7-2 11:25:00 import re #写一个邮箱正则 p = r"(\w+)@(163|126|gmail|qq)\.(com|cn|net)$" r = re.match(p,"itcast@qq.com") print(r) b = r.group() print(b) # (?P) 分组起名字 #(?P = name) 引用别名为name... 阅读全文
posted @ 2018-07-02 20:17
我想喝杨枝甘露~
阅读(131)
评论(0)
推荐(0)

浙公网安备 33010602011771号