doc: fix error in regex.md

This commit is contained in:
jaywcjlove 2022-11-12 01:22:29 +08:00
parent 4ce6660ca8
commit 739697937d

View File

@ -616,7 +616,7 @@ M(?(?=.*?\bher\b)s|r)\.
表达式 | 匹配示例 表达式 | 匹配示例
:- | - :- | -
`The` | The `fat` cat sat on the mat. `The` | The `fat` cat sat on the mat.
`/The/gi` | The `fat` `cat` `sat` on the `mat`. `/The/gi` | `The` fat cat sat on `the` mat.
<!--rehype:className=show-header--> <!--rehype:className=show-header-->
修饰语 `i` 用于忽略大小写,`g` 表示全局搜索。 修饰语 `i` 用于忽略大小写,`g` 表示全局搜索。