摘要: import re #导入正则模块re #re.match 尝试从字符串的开始匹配一个模式 text = 'jgood is a handsome boy,he is cool , cleber,and so on...' m = re.match(r'(\w+)\s',text) #re.sear 阅读全文
posted @ 2017-04-25 18:17 轻幻 阅读(115) 评论(0) 推荐(0)