[5.0] Routing : add matchPattern function

And use it for `is()` and `uses()`
Nope, that changes nothing.