summaryrefslogtreecommitdiffhomepage
path: root/docs
diff options
context:
space:
mode:
authorTyge Lovset <[email protected]>2023-01-02 09:00:47 +0100
committerTyge Lovset <[email protected]>2023-01-02 09:00:47 +0100
commit8c6ba8a3444e4b8640e7fe04f565cef57c850432 (patch)
tree10119ea3bbef5ac2818874849231bad19ad7aa5a /docs
parent91e79fc60713c1f09e940a7ee83ff2f8aa4f9d69 (diff)
downloadSTC-modified-8c6ba8a3444e4b8640e7fe04f565cef57c850432.tar.gz
STC-modified-8c6ba8a3444e4b8640e7fe04f565cef57c850432.zip
Added selected unicode character classes.
Diffstat (limited to 'docs')
-rw-r--r--docs/cregex_api.md21
1 files changed, 16 insertions, 5 deletions
diff --git a/docs/cregex_api.md b/docs/cregex_api.md
index 3197a59e..689fd33d 100644
--- a/docs/cregex_api.md
+++ b/docs/cregex_api.md
@@ -184,11 +184,22 @@ For reference, **cregex** uses the following files:
| \D \S \W | Do not match the groups described above | |
| \p{Alnum} | Match UTF8 alpha numeric | * |
| \p{XDigit} | Match UTF8 hex number | * |
-| \p{Alpha} or \p{LC} | Match UTF8 cased letter | * |
-| \p{Digit} or \p{Nd} | Match UTF8 numeric | * |
-| \p{Lower} or \p{Ll} | Match UTF8 lower case | * |
-| \p{Upper} or \p{Lu} | Match UTF8 upper case | * |
-| \p{Space} or \p{Sz} | Match UTF8 whitespace | * |
+| \p{Nd} or \p{Digit} | Match UTF8 decimal number | * |
+| \p{Nl} | Match UTF8 numeric letter | * |
+| \p{Ll} or \p{Lower} | Match UTF8 lower case letter | * |
+| \p{Lu} or \p{Upper} | Match UTF8 upper case letter | * |
+| \p{Lt} | Match UTF8 titlecase letter | * |
+| \p{L&} or \p{Alpha} | Match UTF8 cased letter | * |
+| \p{Cc} | Match UTF8 control char | * |
+| \p{Pc} | Match UTF8 connector punctuation | * |
+| \p{Pd} | Match UTF8 dash punctuation | * |
+| \p{Pf} | Match UTF8 final punctuation | * |
+| \p{Pi} | Match UTF8 initial punctuation | * |
+| \p{Sc} | Match UTF8 currency symbol | * |
+| \p{Sk} | Match UTF8 modifier symbol | * |
+| \p{Zl} | Match UTF8 line separator | * |
+| \p{Zp} | Match UTF8 paragraph separator | * |
+| \p{Sz} or \p{Space} | Match UTF8 whitespace separator | * |
| \P{***Class***} | Do not match the classes described above | * |
| [:alnum:] [:alpha:] [:ascii:] | Match ASCII character class. NB: only to be used inside [] brackets | * |
| [:blank:] [:cntrl:] [:digit:] | " | * |