Function regex_syntax::unicode::gcb

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

Returns the Unicode HIR class corresponding to the given grapheme cluster break property.

Name canonicalization is assumed to be performed by the caller.

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