GENERATED by genunicode from UCD 17.0.0 - do not edit. Grapheme-cluster-break categories (UAX #29), one flat partition merging GraphemeClusterBreak, ExtendedPictographic, and InCB. The table is a sorted boundary list: entries of four base-128 septets encoding startcodepoint * 32 + category. See src/bin/genunicode.rs for the encoding and regeneration story.
API Reference
Globals
let _GC_OTHER: Int
Internal grapheme-cluster code for UAX #29 Other.
let _GC_CR: Int
Internal grapheme-cluster code for carriage return (CR).
let _GC_LF: Int
Internal grapheme-cluster code for line feed (LF).
let _GC_CONTROL: Int
Internal grapheme-cluster code for UAX #29 Control.
let _GC_EXTEND: Int
Internal grapheme-cluster code for UAX #29 Extend.
let _GC_ZWJ: Int
Internal grapheme-cluster code for zero-width joiner (ZWJ).
let _GC_REGIONAL_INDICATOR: Int
Internal grapheme-cluster code for UAX #29 Regional_Indicator.
let _GC_PREPEND: Int
Internal grapheme-cluster code for UAX #29 Prepend.
let _GC_SPACINGMARK: Int
Internal grapheme-cluster code for UAX #29 SpacingMark.
let _GC_HANGUL_L: Int
Internal grapheme-cluster code for Hangul leading jamo (L).
let _GC_HANGUL_V: Int
Internal grapheme-cluster code for Hangul vowel jamo (V).
let _GC_HANGUL_T: Int
Internal grapheme-cluster code for Hangul trailing jamo (T).
let _GC_HANGUL_LV: Int
Internal grapheme-cluster code for Hangul LV syllables.
let _GC_HANGUL_LVT: Int
Internal grapheme-cluster code for Hangul LVT syllables.
let _GC_EXT_PICT: Int
Internal grapheme-cluster code for the Extended_Pictographic override.
let _GC_INCB_CONSONANT: Int
Internal grapheme-cluster code for Indic conjunct-break consonants.
let _GC_EXTEND_INCB_LINKER: Int
Internal grapheme-cluster code for Extend scalars that are InCB linkers.
let _GC_EXTEND_INCB_EXTEND: Int
Internal grapheme-cluster code for Extend scalars that are InCB extenders.
let _CC_OTHER: Int
Character does not satisfy one of the specialized classes below.
let _CC_WHITESPACE: Int
Character satisfies Unicode White_Space.
let _CC_ALPHABETIC: Int
Character satisfies Unicode Alphabetic.
let _CC_NUMERIC: Int
Character has a Unicode numeric category.
let _CC_ALPHANUMERIC: Int
Character is both alphabetic and numeric under the table's combined flags.
Functions
func _gcb_table() -> String
Packed scalar boundaries for Unicode grapheme-cluster categories. Entries are sorted four-septet values encoding start * 32 + category.
func _character_class_table() -> String
Packed scalar boundaries for the public character-class predicates. Entries use the same sorted four-septet start * 32 + category encoding.