regex_syntax::hir

Function class_chars

Source
fn class_chars(hirs: &[Hir]) -> Option<Class>
Expand description

Given a sequence of HIR values where each value corresponds to a Unicode class (or an all-ASCII byte class), return a single Unicode class corresponding to the union of the classes found.