From c55c5aee7c0e0ceff8b28272cc7a04637ed02ca9 Mon Sep 17 00:00:00 2001 From: Ilya Kantor Date: Thu, 10 Oct 2019 11:08:44 +0300 Subject: [PATCH] fix --- 9-regular-expressions/02-regexp-character-classes/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/9-regular-expressions/02-regexp-character-classes/article.md b/9-regular-expressions/02-regexp-character-classes/article.md index 349a5f9d..10ed1c3a 100644 --- a/9-regular-expressions/02-regexp-character-classes/article.md +++ b/9-regular-expressions/02-regexp-character-classes/article.md @@ -128,7 +128,7 @@ alert( "CS4".match(/CS.4/) ); // null, no match because there's no character for ### Dot as literally any character with "s" flag -Usually a dot doesn't match a newline character `\n`. +By default, a dot doesn't match the newline character `\n`. For instance, the regexp `pattern:A.B` matches `match:A`, and then `match:B` with any character between them, except a newline `\n`: