docs: public Optional<String[]> splitPath(URI resource) {
          int matchRes = matches(resource);
          if (matchRes < 0) {
              return Optional.empty();
          }
          return Optional.of(split(resource.getPath(), matchRes + 1));
      }