Fixed Wikipedia link and list markdown
This commit is contained in:
parent
b52aa942a8
commit
d3ef0d544f
1 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue