pub fn compile_rules(rules: &[Query]) -> Result<Vec<CompiledQuery>>Expand description
Compile every rule; the first invalid one fails them all.
§Errors
EngineError::Find for the first rule that
does not compile (an invalid regex, …).
pub fn compile_rules(rules: &[Query]) -> Result<Vec<CompiledQuery>>Compile every rule; the first invalid one fails them all.
EngineError::Find for the first rule that
does not compile (an invalid regex, …).