![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
正则表达式
Xavier丶Zeng
Remember to look up at the stars and not down at your feet. Be curious and however life may seem, there is always something you can do and succeed at.
展开
-
python语言中的正则表达式
python语言中的正则表达式常用函数 序号 常用函数 意义 1 re.match(‘regex’, content) 按正则表达式regex规则,从头开始匹配文本content 2 result.group(number) 匹配子表达式,number表示子表达式在正则表达式中的位置 3 result.span() 输出结果在正则表达式中的索引范围 4 修饰符re.S,...原创 2019-02-27 20:06:57 · 336 阅读 · 0 评论 -
《正则表达式必知必会(修订版)》读书笔记
原创 2019-02-27 00:30:51 · 442 阅读 · 0 评论