2018年4月11日
摘要: 学会使用正则表达式 1. 用正则表达式判定邮箱是否输入正确。 import re str=r'^[a-zA-Z0-9]+(\.[a-zA-Z0-9_-]+){0,4}@[a-zA-Z0-9]+(\.[a-zA-Z0-9]+){0,4}$' are=('1924668503@qq.com') if r 阅读全文
posted @ 2018-04-11 22:00 123王展洪 阅读(136) 评论(0) 推荐(0) 编辑