making preg_match prettier