From a8c22e92e64d6292997ffff4fb6b9f1683edc6ea Mon Sep 17 00:00:00 2001 From: Vse Mozhe Buty Date: Fri, 11 Dec 2020 00:40:16 +0200 Subject: [PATCH] Fix typo in 9.17 (Methods of RegExp and String) --- 9-regular-expressions/17-regexp-methods/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/9-regular-expressions/17-regexp-methods/article.md b/9-regular-expressions/17-regexp-methods/article.md index a7847c0f..9654b142 100644 --- a/9-regular-expressions/17-regexp-methods/article.md +++ b/9-regular-expressions/17-regexp-methods/article.md @@ -142,7 +142,7 @@ To find all hyphens, we need to use not the string `"-"`, but a regexp `pattern: alert( '12-34-56'.replace( *!*/-/g*/!*, ":" ) ) // 12:34:56 ``` -The second argument is a replacement string. We can use special character in it: +The second argument is a replacement string. We can use special characters in it: | Symbols | Action in the replacement string | |--------|--------|