code: public UrlMappingInfo match(String uri) {
          for (Pattern pattern : patterns) {
              Matcher m = pattern.matcher(uri);
              if (m.matches()) {
                  UrlMappingInfo urlInfo = createUrlMappingInfo(uri, m);
                  if (urlInfo != null) {
                      return urlInfo;
                  }
              }
          }
          return null;
      }
docs: Matches the given URI and returns a DefaultUrlMappingInfo instance or null
  
  @param uri The URI to match
  @return A UrlMappingInfo instance or null
  @see grails.web.mapping.UrlMappingInfo