std.unicode_tables
Unicode 16.0.0 character data for std.unicode.
Generated by tools/unicode_tables.py from regex-syntax’s Unicode tables. Regenerate it, don’t edit it.
Functions
Section titled “Functions”unicode_version
Section titled “unicode_version”fn unicode_version() -> StringThe version of Unicode these tables are from.
general_category
Section titled “general_category”fn general_category(key: String) -> Option[String]A general category’s code points, by its canonical name (encoded: see
std.unicode.decode).
script
Section titled “script”fn script(key: String) -> Option[String]A script’s code points, by its canonical name (encoded: see
std.unicode.decode).
script_extension
Section titled “script_extension”fn script_extension(key: String) -> Option[String]The code points whose script extensions include a script, by its canonical
name (encoded: see std.unicode.decode).
bool_property
Section titled “bool_property”fn bool_property(key: String) -> Option[String]A binary property’s code points, by its canonical name (encoded: see
std.unicode.decode).
grapheme_cluster_break
Section titled “grapheme_cluster_break”fn grapheme_cluster_break(key: String) -> Option[String]A Grapheme_Cluster_Break value’s code points, by its canonical name
(encoded: see std.unicode.decode).
word_break
Section titled “word_break”fn word_break(key: String) -> Option[String]A Word_Break value’s code points, by its canonical name (encoded: see
std.unicode.decode).
sentence_break
Section titled “sentence_break”fn sentence_break(key: String) -> Option[String]A Sentence_Break value’s code points, by its canonical name (encoded: see
std.unicode.decode).
fn age(key: String) -> Option[String]The code points assigned in exactly one version (V1_1, …), by its
canonical name (encoded: see std.unicode.decode).
perl_word
Section titled “perl_word”fn perl_word() -> String\\w: word characters (encoded: see std.unicode.decode).
perl_digit
Section titled “perl_digit”fn perl_digit() -> String\\d: decimal digits (Nd) (encoded: see std.unicode.decode).
perl_space
Section titled “perl_space”fn perl_space() -> String\\s: White_Space (encoded: see std.unicode.decode).
property_name
Section titled “property_name”fn property_name(key: String) -> Option[String]A property’s canonical name, from its name or an alias, normalized
(std.unicode.normalize).
property_value
Section titled “property_value”fn property_value(property: String, normalized: String) -> Option[String]A property value’s canonical name, from its name or an alias, normalized
(std.unicode.normalize), for the properties that have values here.
folding_keys
Section titled “folding_keys”fn folding_keys() -> List[Int]Simple case folding: the characters that have others in their case class,
in order (their others are folding_others).
folding_others
Section titled “folding_others”fn folding_others() -> List[List[Int]]For each of folding_keys, the other characters of its case class.
indic_conjunct_break
Section titled “indic_conjunct_break”fn indic_conjunct_break(key: String) -> Option[String]An Indic_Conjunct_Break value’s code points (Consonant, Extend,
Linker; from the UCD’s DerivedCoreProperties.txt), by name (encoded: see
std.unicode.decode).