Import std.text.unicode
UnicodeCategory
enum
Public Enum UnicodeCategory
A character's general category, in Unicode's order, as Category gives it.
-
Cn, a code point with no character.
-
Lu, an uppercase letter.
-
Ll, a lowercase letter.
-
Lt, a digraph whose first part is uppercase.
-
Lm, a modifier letter.
-
Lo, another letter, like an ideograph.
-
Mn, a mark that takes no space.
-
Mc, a mark that takes space.
-
Me, a mark that encloses its base character.
-
Nd, a decimal digit.
-
Nl, a number of letters, like a Roman numeral.
-
No, another number, like a fraction or a superscript.
-
Pc, a connector, like '_'.
-
Pd, a dash or a hyphen.
-
Ps, an opening bracket.
-
Pe, a closing bracket.
-
Pi, an opening quotation mark.
-
Pf, a closing quotation mark.
-
Po, other punctuation.
-
Sm, a math symbol.
-
Sc, a currency symbol.
-
Sk, a modifier symbol, like an accent on its own.
-
So, another symbol.
-
Zs, a space.
-
Zl, U+2028, the line separator.
-
Zp, U+2029, the paragraph separator.
-
Cc, a control character.
-
Cf, a format character, like a zero-width joiner.
-
Cs, a UTF-16 surrogate.
-
Co, a private use character.
Report an issue with this page or with FutureBlitz on GitHub.