随笔分类 -  正则表达式

摘要:网络上看到的正则表达式总结表,感觉不错。保留下来方便查询。 阅读全文
posted @ 2021-02-01 10:31 bingo彬哥 阅读(135) 评论(0) 推荐(0)
摘要:``` search ⇒ find something anywhere in the string and return a match object. match ⇒ find something at the beginning of the string and return a match object. # example code: string_with_newlines = "... 阅读全文
posted @ 2018-08-22 18:15 bingo彬哥 阅读(510) 评论(0) 推荐(0)
摘要:用正则中的re.sub方法。 阅读全文
posted @ 2018-03-07 12:02 bingo彬哥 阅读(733) 评论(0) 推荐(0)

本站总访问量