improved router regex - replace route path params e.g. (:id, :params) with route param regex