Skip to content

Commit fce3e00

Browse files
authored
Fix typo Scx->scx for short name of Script_Extensions prop (mdn#40605)
1 parent 359d3c9 commit fce3e00

File tree

1 file changed

+1
-1
lines changed
  • files/en-us/web/javascript/reference/regular_expressions/unicode_character_class_escape

1 file changed

+1
-1
lines changed

files/en-us/web/javascript/reference/regular_expressions/unicode_character_class_escape/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ mixedCharacters.match(/\p{sc=Cyrillic}/u); // Л
110110

111111
For more details, refer to [the Unicode specification](https://unicode.org/reports/tr24/#Script), the [Scripts table in the ECMAScript specification](https://tc39.es/ecma262/multipage/text-processing.html#table-unicode-script-values), and the [ISO 15924 list of script codes](https://unicode.org/iso15924/iso15924-codes.html).
112112

113-
If a character is used in a limited set of scripts, the `Script` property will only match for the "predominant" used script. If we want to match characters based on a "non-predominant" script, we could use the `Script_Extensions` property (`Scx` for short).
113+
If a character is used in a limited set of scripts, the `Script` property will only match for the "predominant" used script. If we want to match characters based on a "non-predominant" script, we could use the `Script_Extensions` property (`scx` for short).
114114

115115
```js
116116
// ٢ is the digit 2 in Arabic-Indic notation

0 commit comments

Comments
 (0)