会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
When you look into the abyss, the abyss looks into you.
博客园
首页
新随笔
联系
订阅
管理
2018年1月13日
python 中的 re.compile 函数(转)
摘要: 1. 使用re.compile re模块中包含一个重要函数是compile(pattern [, flags]) ,该函数根据包含的正则表达式的字符串创建模式对象。可以实现更有效率的匹配。在直接使用字符串表示的正则表达式进行search,match和findall操作时,python会将字符串转换为
阅读全文
posted @ 2018-01-13 22:29 Operater
阅读(9059)
评论(0)
推荐(0)
公告