Open
Description
In this twitter thread:
https://twitter.com/posva/status/1418470155579953153
It was pointed out having an ordering for patterns is helpful for routering framework.
I have a plan to provide an ordering for restricted patterns that are service worker scopes. This issue is to consider if there is a way to come up with a generalized ordering.
The big question in my mind would be how to treat custom regular expression groups. My inclination would be to treat them as equal to a full wildcard *
in terms of specificity since we can't really tell how specific or not they are. (Inspecting a custom regexp to determine what its going to do is probably going to be too complex, etc.)