code: public static URL matches(final String pattern)
     {
        return new URL(pattern) {
           @Override
           public String toString()
           {
              return "URL.matches(\"" + pattern + "\")";
           }
        };
     }
docs: Create a {@link Condition} that inspects the entire value of the current {@link Address}, comparing against the
  given pattern.
  <p>
  The given pattern may be parameterized:
  <p>
  <b>INBOUND:</b><br>
  <code>
  /path/store?item=1436
  /path/store?item={itemId} <br>
  /path/{store}?item={itemId}&category={catId} <br>
  ...
  </code>
  <p>
  <b>OUTBOUND:</b><br>
  <code>
  http://domain.com/path/store.html?item=1436
  http://domain.com/path/store?item={itemId} <br>
  /path/{store}?item={itemId}&category={catId} <br>
  ...
  </code>
  <p>
  
  @param url {@link ParameterizedPattern} to which the current {@link Address} must match.
  
  @see {@link ConfigurationRuleParameterBuilder#where(String)}