An implementation of regular expressions for Rust. This implementation uses finite automata and guarantees linear time matching on all inputs.
rust
automata
regex
regexp
nfa
automaton
regular-expressions
dfa
regex-engine
regex-syntax
regex-parser
-
Updated
Aug 7, 2021 - Rust
Would it be possible to have the regex parser support character classes like
\wwithin other character classes? I had a regex pattern earlier that used the character class[0-9a-zA-Z_\.-], and I attempted to simplify it with[\w\.\-]. I didn't notice this library doesn't support doing that, and was wondering just how difficult that would be to implement. For the time being i'm just expanding