[5.0] Routing : add matchPattern function

And use it for `is()` and `uses()`
@crynobone Yeah that is not going to work like this.