We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 48823f8 commit 58ebcb3Copy full SHA for 58ebcb3
1 file changed
9-regular-expressions/11-regexp-groups/article.md
@@ -18,7 +18,7 @@
18
括号将字符组合,所以 `pattern:(go)+` 匹配 `match:go`,`match:gogo`,`match:gogogo`等。
19
20
```js run
21
-alert( 'Gogogo now!'.match(/(go)+/i) ); // "Gogogo"
+alert( 'Gogogo now!'.match(/(go)+/ig) ); // "Gogogo"
22
```
23
24
### 示例:域名
0 commit comments