Fixed Wikipedia link and list markdown

This commit is contained in:
LuiGee3471 2020-06-15 11:15:53 +09:00
parent b52aa942a8
commit d3ef0d544f

View file

@ -93,7 +93,7 @@ Here's the main character categories and their subcategories:
- control `Cc`, - control `Cc`,
- format `Cf`, - format `Cf`,
- not assigned `Cn`, - not assigned `Cn`,
-- private use `Co`, - private use `Co`,
- surrogate `Cs`. - surrogate `Cs`.
@ -127,7 +127,7 @@ alert("number: xAF".match(regexp)); // xAF
Let's look for Chinese hieroglyphs. Let's look for Chinese hieroglyphs.
There's a unicode property `Script` (a writing system), that may have a value: `Cyrillic`, `Greek`, `Arabic`, `Han` (Chinese) and so on, [here's the full list]("https://en.wikipedia.org/wiki/Script_(Unicode)"). There's a unicode property `Script` (a writing system), that may have a value: `Cyrillic`, `Greek`, `Arabic`, `Han` (Chinese) and so on, [here's the full list](https://en.wikipedia.org/wiki/Script_(Unicode)).
To look for characters in a given writing system we should use `pattern:Script=<value>`, e.g. for Cyrillic letters: `pattern:\p{sc=Cyrillic}`, for Chinese hieroglyphs: `pattern:\p{sc=Han}`, and so on: To look for characters in a given writing system we should use `pattern:Script=<value>`, e.g. for Cyrillic letters: `pattern:\p{sc=Cyrillic}`, for Chinese hieroglyphs: `pattern:\p{sc=Han}`, and so on: