doc: Update regex.md (#278) c356147d5f

This commit is contained in:
jaywcjlove
2023-02-02 03:53:44 +00:00
parent e245a7fbd0
commit d38ba8148a
2 changed files with 10 additions and 4 deletions

View File

@ -1678,7 +1678,7 @@
<table class="show-header"><thead><tr><th align="left">表达式</th><th>匹配示例</th></tr></thead><tbody><tr><td align="left"><code>The</code></td><td>The <code>fat</code> cat sat on the mat.</td></tr><tr><td align="left"><code>/The/gi</code></td><td><code>The</code> fat cat sat on <code>the</code> mat.</td></tr></tbody></table>
<table class="show-header"><thead><tr><th align="left">表达式</th><th>匹配示例</th></tr></thead><tbody><tr><td align="left"><code>The</code></td><td><code>The</code> fat cat sat on the mat.</td></tr><tr><td align="left"><code>/The/gi</code></td><td><code>The</code> fat cat sat on <code>the</code> mat.</td></tr></tbody></table>
<!--rehype:className=show-header-->
<p>修饰语 <code>i</code> 用于忽略大小写,<code>g</code> 表示全局搜索。</p>
</div></div></div><div class="wrap h3body-not-exist"><div class="wrap-header h3wrap"><h3 id="全局搜索-global-search"><a aria-hidden="true" tabindex="-1" href="#全局搜索-global-search"><span class="icon icon-link"></span></a>全局搜索 (Global search)</h3><div class="wrap-body">