build_leaf_fsm

Function build_leaf_fsm 

Source
pub fn build_leaf_fsm(regex: &[u8]) -> FsmWithStartEnd
Expand description

Build a leaf FSM from a regex fragment that is either a plain literal ("abx", possibly with escapes / .) or a character class [...]. regex is raw bytes — the builder is byte-wise (matches the C++).