A regular expression converter.