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). ```