aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorRyo Nihei <nihei.dev@gmail.com>2021-11-28 16:18:04 +0900
committerRyo Nihei <nihei.dev@gmail.com>2021-11-28 17:16:26 +0900
commit301d02dd659ae8dea326684984710729401b92d1 (patch)
tree4fc5593ffc655ce4f24b57c2d113b8b2bcbd1d08 /README.md
parentMake contributory properties unavailable except internal use (diff)
downloadtre-301d02dd659ae8dea326684984710729401b92d1.tar.gz
tre-301d02dd659ae8dea326684984710729401b92d1.tar.xz
Support Script property (Meet RL1.2 of UTS #18 partially)
Diffstat (limited to 'README.md')
-rw-r--r--README.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/README.md b/README.md
index 6629baa..9c9d4df 100644
--- a/README.md
+++ b/README.md
@@ -242,7 +242,7 @@ The code point expressions match a character that has a specified code point. Th
| \u{3042} | U+3042 (hiragana あ) |
| \u{01F63A} | U+1F63A (grinning cat 😺) |
-The character property expressions match a character that has a specified character property of the Unicode. Currently, maleeni supports only `General_Category`, `Alphabetic`, `Lowercase`, `Uppercase`, and `White_Space`. When you omitted the equal symbol and a right-side value, maleeni interprets a symbol in `\p{...}` as the `General_Category` value.
+The character property expressions match a character that has a specified character property of the Unicode. Currently, maleeni supports `General_Category`, `Script`, `Alphabetic`, `Lowercase`, `Uppercase`, and `White_Space`. When you omitted the equal symbol and a right-side value, maleeni interprets a symbol in `\p{...}` as the `General_Category` value.
| Example | Description |
|-----------------------------|----------------------------------------------------|
@@ -250,6 +250,7 @@ The character property expressions match a character that has a specified charac
| \p{gc=Letter} | the same as \p{General_Category=Letter} |
| \p{Letter} | the same as \p{General_Category=Letter} |
| \p{l} | the same as \p{General_Category=Letter} |
+| \p{Script=Latin} | any one character whose Script is Latin |
| \p{Alphabetic} | any one character whose Alphabetic is yes |
| \p{Lowercase=yes} | any one character whose Lowercase is yes |
| \p{Uppercase=yes} | any one character whose Uppercase is yes |