Function regex_syntax::unicode::script_extension

source ยท
fn script_extension(canonical_name: &'static str) -> Result<ClassUnicode, Error>
Expand description

Returns the Unicode HIR class corresponding to the given script extension.

Name canonicalization is assumed to be performed by the caller.

If the given script extension could not be found, or if the script data is not available, then an error is returned.