diff options
author | Ryo Nihei <nihei.dev@gmail.com> | 2021-11-25 21:18:34 +0900 |
---|---|---|
committer | Ryo Nihei <nihei.dev@gmail.com> | 2021-11-25 21:18:34 +0900 |
commit | 6ebbc8f9829bf0f3127367769c662d1a8f881a2d (patch) | |
tree | e45af1104e3ce736134353c1805fe0c91d04998a /README.md | |
parent | Support White_Space property (Meet RL1.2 of UTS #18 partially) (diff) | |
download | tre-6ebbc8f9829bf0f3127367769c662d1a8f881a2d.tar.gz tre-6ebbc8f9829bf0f3127367769c662d1a8f881a2d.tar.xz |
Support Lowercase and Uppercase property (Meet RL1.2 of UTS #18 partially)
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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` 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 only `General_Category`, `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,8 @@ 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{Lowercase=yes} | any one character whose Lowercase is yes | +| \p{Uppercase=yes} | any one character whose Uppercase is yes | | \p{White_Space=yes} | any one character whose White_Space is yes | | \p{wspace=yes} | the same as \p{White_Space=yes} | |