From 787409b30eff8e6a5d3dc95a23a673e771e2f60b Mon Sep 17 00:00:00 2001 From: Zhi Yin Date: Tue, 19 May 2020 14:54:36 -0400 Subject: [PATCH] =?UTF-8?q?correct=20minor=20error:=20"=D0=B8=D0=BC=D1=8F"?= =?UTF-8?q?=20is=20used=20in=20place=20of=20"name"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 9-regular-expressions/12-regexp-backreferences/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/9-regular-expressions/12-regexp-backreferences/article.md b/9-regular-expressions/12-regexp-backreferences/article.md index 83beb803..b80fa85c 100644 --- a/9-regular-expressions/12-regexp-backreferences/article.md +++ b/9-regular-expressions/12-regexp-backreferences/article.md @@ -57,7 +57,7 @@ In the replacement string we use a dollar sign: `pattern:$1`, while in the patte If a regexp has many parentheses, it's convenient to give them names. -To reference a named group we can use `pattern:\k<имя>`. +To reference a named group we can use `pattern:\k`. In the example below the group with quotes is named `pattern:?`, so the backreference is `pattern:\k`: