From 301d02dd659ae8dea326684984710729401b92d1 Mon Sep 17 00:00:00 2001 From: Ryo Nihei Date: Sun, 28 Nov 2021 16:18:04 +0900 Subject: Support Script property (Meet RL1.2 of UTS #18 partially) --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'README.md') 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 | -- cgit v1.2.3