Isn't it the case that if are here and found something by regexp, the match has routeParams and we don't need to check?