new with regular expressions