Make Regex's expectedInputType localizable