Skip to content

Commit c88d67d

Browse files
committed
closes #1882
1 parent dce80e4 commit c88d67d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

11-regexp-groups/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Without parentheses, the pattern `pattern:go+` means `subject:g` character, foll
1818
Parentheses group characters together, so `pattern:(go)+` means `match:go`, `match:gogo`, `match:gogogo` and so on.
1919

2020
```js run
21-
alert( 'Gogogo now!'.match(/(go)+/i) ); // "Gogogo"
21+
alert( 'Gogogo now!'.match(/(go)+/ig) ); // "Gogogo"
2222
```
2323

2424
### Example: domain

0 commit comments

Comments
 (0)