Skip to content

Commit f81feea

Browse files
authored
Merge pull request ziishaned#171 from imba-tjd/patch-1
Update zh-CN
2 parents e1b3a27 + 807c707 commit f81feea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

translations/README-cn.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@
179179
### 2.3.1 `*`
180180

181181
`*`号匹配 在`*`之前的字符出现`大于等于0`次.
182-
例如, 表达式 `a*` 匹配以0或更多个a开头的字符, 因为有0个这个条件, 其实也就匹配了所有的字符. 表达式`[a-z]*` 匹配一个行中所有以小写字母开头的字符串.
182+
例如, 表达式 `a*` 匹配0或更多个以a开头的字符. 表达式`[a-z]*` 匹配一个行中所有以小写字母开头的字符串.
183183

184184
<pre>
185185
"[a-z]*" => T<a href="#learn-regex"><strong>he</strong></a> <a href="#learn-regex"><strong>car</strong></a> <a href="#learn-regex"><strong>parked</strong></a> <a href="#learn-regex"><strong>in</strong></a> <a href="#learn-regex"><strong>the</strong></a> <a href="#learn-regex"><strong>garage</strong></a> #21.
@@ -199,7 +199,7 @@
199199
### 2.3.2 `+`
200200

201201
`+`号匹配`+`号之前的字符出现 >=1 次.
202-
例如表达式`c.+t` 匹配以首字母`c`开头以`t`结尾,中间跟着任意个字符的字符串.
202+
例如表达式`c.+t` 匹配以首字母`c`开头以`t`结尾,中间跟着至少一个字符的字符串.
203203

204204
<pre>
205205
"c.+t" => The fat <a href="#learn-regex"><strong>cat sat on the mat</strong></a>.

0 commit comments

Comments
 (0)