fuzzy-regex 0.1.0

High-performance fuzzy regular expression engine combining regex with Damerau-Levenshtein distance
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Intermediate Representation module.
//!
//! This module contains:
//! - HIR (High-level IR): simplified AST ready for compilation
//! - NFA: Non-deterministic Finite Automaton for matching

// Module-level allows for IR-specific patterns

pub mod hir;
pub mod nfa;

pub use hir::{CostInfo, Hir, HirClass, HirLowering, lower, lower_with_unicode};
pub use nfa::{
    CostConstraint, EditCharRestriction, LiteralPattern, Nfa, NfaFragment, PatternIndex, State,
    StateId,
};