code: public Map<String, String> getMatch(String uri) throws URISyntaxException {
      return getMatch(new URI(uri));
    }
docs: Returns results from parsing a {@link java.net.URI} with this pattern.
  If the URI doesn't match the pattern, this will return null.
  
  @param uri A URI to match against this URIPattern
  @return A Map of the pattern's variable names to values from the parsed URI
  @throws URISyntaxException if the String is not a valid URI