diff --git a/9-regular-expressions/11-regexp-groups/article.md b/9-regular-expressions/11-regexp-groups/article.md index 6fdf727a..e559fd87 100644 --- a/9-regular-expressions/11-regexp-groups/article.md +++ b/9-regular-expressions/11-regexp-groups/article.md @@ -18,7 +18,7 @@ Without parentheses, the pattern `pattern:go+` means `subject:g` character, foll Parentheses group characters together, so `pattern:(go)+` means `match:go`, `match:gogo`, `match:gogogo` and so on. ```js run -alert( 'Gogogo now!'.match(/(go)+/i) ); // "Gogogo" +alert( 'Gogogo now!'.match(/(go)+/ig) ); // "Gogogo" ``` ### Example: domain