added regex to grep tests