Function icu_properties::sets::alphabetic

source ·
pub const fn alphabetic() -> CodePointSetDataBorrowed<'static>
Expand description

Alphabetic characters

Enabled with the compiled_data Cargo feature.

📚 Help choosing a constructor

§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