摘要: 正则表达式是一个特殊的字符序列,他能帮助你方便的检查一个字符串是否与某种模式匹配。 RE模块使python语言拥有全部的正则表达式功能 compile(pattern) 创建模式对象 search(pattern,string) 在字符串中寻找模式 match(pattern,string) 在字符 阅读全文
posted @ 2021-02-19 11:00 枕桃花吹长笛 阅读(102) 评论(0) 推荐(0) 编辑