From 9fcffe169256894db8c4c57444b264b133b208d9 Mon Sep 17 00:00:00 2001 From: Ilya Kantor Date: Mon, 1 Nov 2021 21:18:36 +0300 Subject: [PATCH] minor fixes --- 9-regular-expressions/05-regexp-multiline-mode/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/9-regular-expressions/05-regexp-multiline-mode/article.md b/9-regular-expressions/05-regexp-multiline-mode/article.md index 5d4c48bf..82f4d781 100644 --- a/9-regular-expressions/05-regexp-multiline-mode/article.md +++ b/9-regular-expressions/05-regexp-multiline-mode/article.md @@ -75,7 +75,7 @@ let str = `Winnie: 1 Piglet: 2 Eeyore: 3`; -console.log( str.match(/\d\n/gm) ); // 1\n,2\n +console.log( str.match(/\d\n/g) ); // 1\n,2\n ``` As we can see, there are 2 matches instead of 3.