From 739697937d91d87dea7e92917589beb018fd49c1 Mon Sep 17 00:00:00 2001 From: jaywcjlove <398188662@qq.com> Date: Sat, 12 Nov 2022 01:22:29 +0800 Subject: [PATCH] doc: fix error in regex.md --- docs/regex.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/regex.md b/docs/regex.md index ec769ba..ad438b9 100644 --- a/docs/regex.md +++ b/docs/regex.md @@ -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. 修饰语 `i` 用于忽略大小写,`g` 表示全局搜索。