Scala/Compiler: DFA->RE