随笔分类 -  工具类

摘要:re.I 表示忽略大小写 re.S 表示全文匹配 re.M 表示全文拼配行尾段位的字符或者数字,影响^和$ re.sub 表示替换 使用方法: re.sub(pattern, repl, string, count=0, flags=0) pattern:表示正则表达式中的模式字符串; repl:被 阅读全文
posted @ 2022-08-17 10:26 高冷的程序员大大 阅读(389) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示