Deterministic finite state parser from regular expression.