2016年6月27日

正则表达式-邮箱的判断

摘要: import re def emaills(e): if (len(e) >= 5): if re.match("[a-zA-Z0-9]+\@[a-zA-Z0-9]+\.+[a-zA-Z]",e): return 'correct' return 'error' e = raw_input('please emaill:') print... 阅读全文

posted @ 2016-06-27 11:24 Kermit.Li 阅读(200) 评论(0) 推荐(0)

导航