code: protected static boolean matchPatternStart(String pattern, String str,
                                                 boolean isCaseSensitive) {
          return SelectorUtils.matchPatternStart(pattern, str, isCaseSensitive);
      }
docs: Test whether or not a given path matches the start of a given
  pattern up to the first "**".
  <p>
  This is not a general purpose test and should only be used if you
  can live with false positives. For example, <code>pattern=**\a</code>
  and <code>str=b</code> will yield <code>true</code>.
  
  @param pattern The pattern to match against. Must not be
  <code>null</code>.
  @param str     The path to match, as a String. Must not be
  <code>null</code>.
  @param isCaseSensitive Whether or not matching should be performed
  case sensitively.
  
  @return whether or not a given path matches the start of a given
  pattern up to the first "**".