We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 818bbd0 commit 67c8355Copy full SHA for 67c8355
9-regular-expressions/17-regexp-methods/article.md
@@ -24,7 +24,7 @@
24
alert( result.input ); // I love JavaScript(源字符串)
25
```
26
27
-2. 如果 `regexp` 带有修饰符 `pattern:g`,则它将所有匹配项的数组以字符串的形式返回,而不包含捕获组和其它详细信息。
+2. 如果 `regexp` 带有修饰符 `pattern:g`,则它将返回一个包含所有匹配项的数组,但不包含捕获组和其它详细信息。
28
```js run
29
let str = "I love JavaScript";
30
0 commit comments