Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 64b0ff3

Browse files
authored
Merge pull request #1958 from LuiGee3471/unicode-property
Fixed Wikipedia link and list markdown
2 parents 42b0220 + d3ef0d5 commit 64b0ff3

File tree

1 file changed

+2
-2
lines changed
  • 9-regular-expressions/03-regexp-unicode

1 file changed

+2
-2
lines changed

‎9-regular-expressions/03-regexp-unicode/article.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ Here's the main character categories and their subcategories:
9393
- control `Cc`,
9494
- format `Cf`,
9595
- not assigned `Cn`,
96-
-- private use `Co`,
96+
- private use `Co`,
9797
- surrogate `Cs`.
9898

9999

@@ -127,7 +127,7 @@ alert("number: xAF".match(regexp)); // xAF
127127

128128
Let's look for Chinese hieroglyphs.
129129

130-
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)").
130+
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)).
131131

132132
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:
133133

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /