Global rate limit based on path prefix

As per documentation, we can do the global rate limit at ingress gateway based on static paths only i.e /productpage and rate limit wont apply for /productpage/1. Is there a way we can do global rate limiting based on path prefix?