<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><title>正则 - 标签 - CoolDev - buyucoder的博客</title><link>https://blog.cooldev.cn/tags/%E6%AD%A3%E5%88%99.html</link><description>正则 - 标签 - CoolDev - buyucoder的博客</description><generator>Hugo -- gohugo.io</generator><language>zh-CN</language><lastBuildDate>Sat, 09 May 2020 11:25:04 +0000</lastBuildDate><atom:link href="https://blog.cooldev.cn/tags/%E6%AD%A3%E5%88%99.html" rel="self" type="application/rss+xml"/><item><title>正则表达式匹配空白行</title><link>https://blog.cooldev.cn/posts/%E6%AD%A3%E5%88%99%E8%A1%A8%E8%BE%BE%E5%BC%8F%E5%8C%B9%E9%85%8D%E7%A9%BA%E7%99%BD%E8%A1%8C.html</link><pubDate>Sat, 09 May 2020 11:25:04 +0000</pubDate><dc:creator>byc</dc:creator><guid>https://blog.cooldev.cn/posts/%E6%AD%A3%E5%88%99%E8%A1%A8%E8%BE%BE%E5%BC%8F%E5%8C%B9%E9%85%8D%E7%A9%BA%E7%99%BD%E8%A1%8C.html</guid><description>当代码文件中文件中有很多空白行时,可能需要将其全部删除,使代码更加紧凑,很多编辑器或IDE也提供了这种功能,这里说一种用正则替换的方式,兼容</description></item></channel></rss>