Regular expressions parser written with nom.
There is additional tool for constructing equivalent NFA in DOT language based on algorithm shown in Dragon Book.
The output can be piped to Graphviz, which in turn can output other formats, such as PNG.
Run with
cargo run --bin dot <<< '[0-9.[:lower:]]?|fo+(bar)?'
GNU GPLv3.