Fix translation of DSL's containing Regex