code: public Route matchRoute(String url) {
          if (hashRoute.containsKey(url)) {
              return new Route(hashRoute.get(url).get(0), null);
          }
  
          for (RegexRoute route : regexRoute) {
              Matcher matcher = route.getPattern().matcher(url);
              if (matcher.matches()) {
                  return new Route(route, matcher);
              }
          }
          return null;
      }
docs: simple match route
  
  @param url
  @return
  @deprecated