Skip to main content

RegexEngine

Trait RegexEngine 

Source
pub trait RegexEngine: Send + Sync {
    // Required methods
    fn kind(&self) -> EngineKind;
    fn compile(
        &self,
        pattern: &str,
        flags: &EngineFlags,
    ) -> EngineResult<Box<dyn CompiledRegex>>;
}

Required Methods§

Source

fn kind(&self) -> EngineKind

Source

fn compile( &self, pattern: &str, flags: &EngineFlags, ) -> EngineResult<Box<dyn CompiledRegex>>

Implementors§