Fork me on GitHub
摘要: import re import string t1 = re.split("["+string.punctuation+" ]","(555) 123-4567") t2= re.split("["+string.punctuation+" ]","555.123.4567") t1==t2 注意 阅读全文
posted @ 2018-05-30 15:06 烟波--钓徒 阅读(812) 评论(0) 推荐(0) 编辑