regexrs

Pure-Rust regex engine with backreferences and lookarounds

A regular-expression engine for patterns the regex crate deliberately leaves out, such as backreferences and lookarounds, with captures, replacement, Unicode and byte matching. Execution limits return errors rather than false non-matches.

Stack
Rust · crates.io
Language
Rust

Highlights

  • Backreferences, lookarounds and a never-backtracking regular subset
  • Benchmarked against regex, fancy-regex and ReSharp, with published method
  • Reusable searchers and caller-owned capture storage

Repository

https://github.com/notes-supply/regexrs

j/k scrollTab linksEnter openq back