added support for regular expressions via util.Regex