Function focaccia::unicode_full_case_eq

source ·
pub fn unicode_full_case_eq(left: &str, right: &str) -> bool
Expand description

Check two strings for equality with Full Unicode case folding.

This function is implemented with a lookup table generated from Unicode case folding tables.

§Examples

assert!(unicode_full_case_eq("MASSE", "Maße"));
assert!(!unicode_full_case_eq("São Paulo", "Sao Paulo"));