<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>文本处理 on LYon's Blog</title><link>https://yindongliang.com/docs/Linux/%E6%96%87%E6%9C%AC%E5%A4%84%E7%90%86/</link><description>Recent content in 文本处理 on LYon's Blog</description><generator>Hugo</generator><language>zh-cn</language><atom:link href="https://yindongliang.com/docs/Linux/%E6%96%87%E6%9C%AC%E5%A4%84%E7%90%86/index.xml" rel="self" type="application/rss+xml"/><item><title>正则表达式</title><link>https://yindongliang.com/docs/Linux/%E6%96%87%E6%9C%AC%E5%A4%84%E7%90%86/regular-expression/</link><pubDate>Tue, 13 Mar 2018 00:00:00 +0000</pubDate><guid>https://yindongliang.com/docs/Linux/%E6%96%87%E6%9C%AC%E5%A4%84%E7%90%86/regular-expression/</guid><description>&lt;h2 id="举例子">举例子&lt;a class="anchor" href="#%e4%b8%be%e4%be%8b%e5%ad%90">#&lt;/a>&lt;/h2>
&lt;p>base64正则匹配&lt;/p>
&lt;pre tabindex="0">&lt;code>^[A-Za-z0-9+/]*={0,2}$&lt;/code>&lt;/pre>&lt;h2 id="特殊字符">特殊字符&lt;a class="anchor" href="#%e7%89%b9%e6%ae%8a%e5%ad%97%e7%ac%a6">#&lt;/a>&lt;/h2>
&lt;p>点 &lt;code>.&lt;/code> 表示匹配换行符 &lt;code>\n&lt;/code> 以外的任何字符。&lt;/p>
&lt;h2 id="限定符">限定符&lt;a class="anchor" href="#%e9%99%90%e5%ae%9a%e7%ac%a6">#&lt;/a>&lt;/h2>
&lt;p>星号 &lt;code>*&lt;/code> 表示匹配前面的子表达式零次或多次。&lt;/p>
&lt;p>加号 &lt;code>+&lt;/code> 表示一次或多次，至少一次。&lt;/p>
&lt;p>问号 &lt;code>?&lt;/code> 表示零次或一次。&lt;/p></description></item></channel></rss>