Make some regular expressions a little more strict.