pub const fn ascii_hex_digit() -> CodePointSetDataBorrowed<'static>
Expand description
ASCII characters commonly used for the representation of hexadecimal numbers
✨ Enabled with the compiled_data
Cargo feature.
§Example
use icu::properties::sets;
let ascii_hex_digit = sets::ascii_hex_digit();
assert!(ascii_hex_digit.contains('3'));
assert!(!ascii_hex_digit.contains('੩')); // U+0A69 GURMUKHI DIGIT THREE
assert!(ascii_hex_digit.contains('A'));
assert!(!ascii_hex_digit.contains('Ä')); // U+00C4 LATIN CAPITAL LETTER A WITH DIAERESIS