classes/phing/mappers/GlobMapper.php
private function modifyName($name)
    {
        if (!$this->caseSensitive) {
            $name = strtolower($name);
        }
        if ($this->handleDirSep) {
            if (strpos('\\', $name) !== false) {
                $name = str_replace('\\', '/', $name);
            }
        }

        return $name;
    }
private function modifyName($name)
    {
        if (!$this->caseSensitive) {
            $name = strtolower($name);
        }
        if ($this->handleDirSep) {
            if (strpos('\\', $name) !== false) {
                $name = str_replace('\\', '/', $name);
            }
        }

        return $name;
    }
private function modifyName ( $ name ) { if ( ! $ this -> caseSensitive ) { $ name = strtolower ( $ name ) ; } if ( $ this -> handleDirSep ) { if ( strpos ( '\\' , $ name ) !== false ) { $ name = str_replace ( '\\' , '/' , $ name ) ; } } return $ name ; }
modify string based on dir char mapping and case sensitivity

@param  string $name the name to convert
@return string the converted name
modify string based on dir char mapping and case sensitivity