Skip to content

Commit

Permalink
doc: fix error in regex.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Nov 11, 2022
1 parent 4ce6660 commit 7396979
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/regex.md
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,7 @@ M(?(?=.*?\bher\b)s|r)\.
表达式 | 匹配示例
:- | -
`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-->

修饰语 `i` 用于忽略大小写,`g` 表示全局搜索。
Expand Down

0 comments on commit 7396979

Please sign in to comment.