From 6a8b314ca00bee315a8cf33bafa90033b7e3a8d0 Mon Sep 17 00:00:00 2001 From: Ilya Kantor Date: Thu, 17 Oct 2019 16:55:19 +0300 Subject: [PATCH] Update article.md --- 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 321218b3..539f9fa2 100644 --- a/9-regular-expressions/05-regexp-multiline-mode/article.md +++ b/9-regular-expressions/05-regexp-multiline-mode/article.md @@ -57,7 +57,7 @@ alert( str.match(/\d$/gm) ); // 1,2,3 Without the flag `m`, the dollar `pattern:$` would only match the end of the whole text, so only the very last digit would be found. ```smart -"End of a line" formally means "immediately before a line break": the test `pattern:^` in multiline mode matches at all positions succeeded by a newline character `\n`. +"End of a line" formally means "immediately before a line break": the test `pattern:$` in multiline mode matches at all positions succeeded by a newline character `\n`. And at the text end. ```