会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
轻幻
博客园
园子
首页
新随笔
联系
管理
订阅
2017年4月25日
python正则表达式
摘要: 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)
公告