expect string to match regexp