added ability to specify param keys when route path is a regex