Skip to content

Commit 8a4a553

Browse files
authored
fix: typo (#1224)
The missing word is added to the last sentence of the document to ensure that the sentence is smooth. Set the "所空字符串是匹配项。" Change it to "所以空字符串是匹配项。"
1 parent 6555c78 commit 8a4a553

File tree

1 file changed

+1
-1
lines changed
  • 9-regular-expressions/04-regexp-anchors/1-start-end

1 file changed

+1
-1
lines changed

9-regular-expressions/04-regexp-anchors/1-start-end/solution.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
这个题目再次证明了锚点不是字符串,而是测试。
44

5-
对于空字符串 `""`,正则表达式引擎将会首先匹配 `pattern:^`(输入开始),匹配成功,然后立即匹配结束 `pattern:$`,也匹配成功。所空字符串是匹配项
5+
对于空字符串 `""`,正则表达式引擎将会首先匹配 `pattern:^`(输入开始),匹配成功,然后立即匹配结束 `pattern:$`,也匹配成功。所以空字符串是匹配项

0 commit comments

Comments
 (0)