Function regex_syntax::unicode::wb

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

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