Function regex_syntax::unicode::sb

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

Returns the Unicode HIR class corresponding to the given sentence 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.