code: private boolean matchesPath(String routePath, String pathToMatch) {
          routePath = PathKit.VAR_REGEXP_PATTERN.matcher(routePath).replaceAll(PathKit.VAR_REPLACE);
          return pathToMatch.matches("(?i)" + routePath);
      }
docs: Matching path
  
  @param routePath   route path
  @param pathToMatch match path
  @return return match is success