Function regex_syntax::unicode::symbolic_name_normalize_bytes
source · fn symbolic_name_normalize_bytes(slice: &mut [u8]) -> &mut [u8] ⓘ
Expand description
Normalize the given symbolic name in place according to UAX44-LM3.
A “symbolic name” typically corresponds to property names and property value aliases. Note, though, that it should not be applied to property string values.
The slice returned is guaranteed to be valid UTF-8 for all possible values
of slice
.
See: https://unicode.org/reports/tr44/#UAX44-LM3