Functions§
- build_
leaf_ fsm - Build a leaf FSM from a regex fragment that is either a plain literal
(
"abx", possibly with escapes /.) or a character class[...].regexis raw bytes — the builder is byte-wise (matches the C++). - handle_
escapes - Escape-class expansion for
\n,\d,\w, … Returns the(min, max)byte ranges the escape atregex[start]denotes.