From e41783a78ea5c196d18969fff94e3c369ed90c22 Mon Sep 17 00:00:00 2001 From: Alexey Pyltsyn Date: Sat, 27 Apr 2019 13:22:30 +0300 Subject: [PATCH] regexp-character-classes: wording --- 9-regular-expressions/03-regexp-character-classes/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/9-regular-expressions/03-regexp-character-classes/article.md b/9-regular-expressions/03-regexp-character-classes/article.md index c1bc1bad..d1fcf66c 100644 --- a/9-regular-expressions/03-regexp-character-classes/article.md +++ b/9-regular-expressions/03-regexp-character-classes/article.md @@ -123,7 +123,7 @@ Another example: a regexp `pattern:\b\d\d\b` looks for standalone two-digit numb alert( "1 23 456 78".match(/\b\d\d\b/g) ); // 23,78 ``` -```warn header="Word boundary doesn't work for non-English alphabets" +```warn header="Word boundary doesn't work for non-Latin alphabets" The word boundary check `\b` tests for a boundary between `\w` and something else. But `\w` means an English letter (or a digit or an underscore), so the test won't work for other characters (like cyrillic or hieroglyphs). ```