use a regex instead of strings for http matching