Skip to content

Commit 5e82fe2

Browse files
authored
Merge pull request #946 from javascript-tutorial/lex111-patch-2
regexp-character-classes: wording
2 parents 0af081d + e41783a commit 5e82fe2

File tree

1 file changed

+1
-1
lines changed
  • 9-regular-expressions/03-regexp-character-classes

1 file changed

+1
-1
lines changed

9-regular-expressions/03-regexp-character-classes/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ Another example: a regexp `pattern:\b\d\d\b` looks for standalone two-digit numb
123123
alert( "1 23 456 78".match(/\b\d\d\b/g) ); // 23,78
124124
```
125125

126-
```warn header="Word boundary doesn't work for non-English alphabets"
126+
```warn header="Word boundary doesn't work for non-Latin alphabets"
127127
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).
128128
```
129129

0 commit comments

Comments
 (0)