Finished DFA -> Regex.

Appears to be working, but will require some testing to be sure.