/**
  * Matches a string against a pattern. The pattern contains two special
  * characters:
  * '*' which means zero or more characters,
  * '?' which means one and only one character.
  *
  * @param string $pattern pattern to match against
  * @param string $str string that must be matched against the
  *                    pattern
  * @param bool $isCaseSensitive
  *
  * @return boolean true when the string matches against the pattern,
  *                 false otherwise.
  */
 public function match($pattern, $str, $isCaseSensitive = true)
 {
     return SelectorUtils::match($pattern, $str, $isCaseSensitive);
 }