Only need regexp.test here.