Function icu_properties::sets::alphabetic
source · pub const fn alphabetic() -> CodePointSetDataBorrowed<'static>
Expand description
Alphabetic characters
✨ Enabled with the compiled_data
Cargo feature.
§Example
use icu::properties::sets;
let alphabetic = sets::alphabetic();
assert!(!alphabetic.contains('3'));
assert!(!alphabetic.contains('੩')); // U+0A69 GURMUKHI DIGIT THREE
assert!(alphabetic.contains('A'));
assert!(alphabetic.contains('Ä')); // U+00C4 LATIN CAPITAL LETTER A WITH DIAERESIS