Skip to content

Commit 67c8355

Browse files
authored
feat: improve regexp-methods trans (#1101)
1 parent 818bbd0 commit 67c8355

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

9-regular-expressions/17-regexp-methods/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
alert( result.input ); // I love JavaScript(源字符串)
2525
```
2626

27-
2. 如果 `regexp` 带有修饰符 `pattern:g`则它将所有匹配项的数组以字符串的形式返回,而不包含捕获组和其它详细信息
27+
2. 如果 `regexp` 带有修饰符 `pattern:g`则它将返回一个包含所有匹配项的数组,但不包含捕获组和其它详细信息
2828
```js run
2929
let str = "I love JavaScript";
3030

0 commit comments

Comments
 (0)