icu_properties::sets

Function case_ignorable

Source
pub const fn case_ignorable() -> CodePointSetDataBorrowed<'static>
Expand description

Characters which are ignored for casing purposes

Enabled with the compiled_data Cargo feature.

📚 Help choosing a constructor

§Example

use icu::properties::sets;

let case_ignorable = sets::case_ignorable();

assert!(case_ignorable.contains(':'));
assert!(!case_ignorable.contains('λ'));  // U+03BB GREEK SMALL LETTER LAMDA