src/Util/Ant/AntPathStringMatcher.php
protected function quote($s, $start, $end)
    {
        if ($start == $end) {
            return "";
        }
        return preg_quote(substr($s, $start, $end), '#');
    }
protected function quote($s, $start, $end)
    {
        if ($start == $end) {
            return "";
        }
        return preg_quote(substr($s, $start, $end), '#');
    }
protected function quote ( $ s , $ start , $ end ) { if ( $ start == $ end ) { return "" ; } return preg_quote ( substr ( $ s , $ start , $ end ) , '#' ) ; }
Returns a part of the string and quotes it.
@param string  $s     The string to use
@param integer $start The start index
@param integer $end   The end index
@return string
Returns a part of the string and quotes it .