classes/phing/util/DirectoryScanner.php
public function matchPath($pattern, $str, $isCaseSensitive = true)
    {
        return SelectorUtils::matchPath($pattern, $str, $isCaseSensitive);
    }
public function matchPath($pattern, $str, $isCaseSensitive = true)
    {
        return SelectorUtils::matchPath($pattern, $str, $isCaseSensitive);
    }
public function matchPath ( $ pattern , $ str , $ isCaseSensitive = true ) { return SelectorUtils :: matchPath ( $ pattern , $ str , $ isCaseSensitive ) ; }
Matches a path against a pattern.

@param string $pattern the (non-null) pattern to match against
@param string $str the (non-null) string (path) to match
@param bool $isCaseSensitive must a case sensitive match be done?

@return bool true when the pattern matches against the string.
false otherwise.
Matches a path against a pattern .