摘要: 1、正则表达式 re.match() 从头匹配; re.match("[0-9]","123abc789") 只匹配一个数字; re.match("[0-9][0-5]","123abc789") 匹配0-5次数字; re.match("[0-9][5]","123abc789") 只匹配5次数字, 阅读全文
posted @ 2017-01-05 10:58 无言的风 阅读(274) 评论(0) 推荐(0) 编辑