Function regex_syntax::unicode::canonical_prop

source ยท
fn canonical_prop(normalized_name: &str) -> Result<Option<&'static str>, Error>
Expand description

Find the canonical property name for the given normalized property name.

If no such property exists, then None is returned.

The normalized property name must have been normalized according to UAX44 LM3, which can be done using symbolic_name_normalize.

If the property names data is not available, then an error is returned.