finish regular expressions