I'm thinking this: https://github.com/dart-lang/route/blob/experimental_hierarchical/lib/url_matcher.dart#L20