simplify and speed up some regular expressions