Expand description
This crate provides the core functionality to the ere
crate.
Modules§
- config
- nfa_
static - Implements a version of
WorkingNFA
that can be serialized statically into a binary. - one_
pass_ u8 - This implements an engine for one-pass regexes.
- parse_
tree - Implements the ERE parser
and primitive types (like
Atom
). - pike_vm
- Implements a Pike VM-like regex engine.
- pike_
vm_ u8 - Implements a Pike VM-like regex engine for
u8
s. - simplified_
tree - Implements a simplified intermediate representation of a regular expression.
- visualization
- Implements visualization features for NFAs. Typically not used outside debug.
- working_
nfa - Implements the primary compile-time intermediate
WorkingNFA
structure for optimization. - working_
u8_ nfa - Implements
u8
-based version ofcrate::working_nfa
.
Structs§
Functions§
- __
compile_ regex - Tries to pick the best engine.
- __
compile_ regex_ engine_ one_ pass_ u8 - Always uses the
one_pass_u8::U8OnePass
engine and returns an tokenized instance of it instead ofRegex
. - __
compile_ regex_ engine_ pike_ vm - Always uses the
pike_vm::PikeVM
engine and returns an tokenized instance of it instead ofRegex
- __
compile_ regex_ engine_ pike_ vm_ u8 - Always uses the
pike_vm_u8::U8PikeVM
engine and returns an tokenized instance of it instead ofRegex
- __
construct_ nfa_ regex - __
construct_ pikevm_ regex - __
construct_ u8onepass_ regex - __
construct_ u8pikevm_ regex