Translate Regular Expressions.