Implement re1 parsing—completely untested.
Add regexp parsing.

It builds automata, but the automata themselves are completely untested. Just the parsing is tested—and not too well at that.