use regex to parse accept header for params and media range