adding regular expression support