Skip to main content

scan_str

Function scan_str 

Source
pub fn scan_str(
    content: &str,
    rel_path: &Path,
    config: &Config,
    today: NaiveDate,
) -> Result<Vec<Fuse>>
Expand description

Convenience: scan a string with a freshly built regex. Useful for testing, benchmarking, and one-off scanning without a filesystem walk.