function _removeCurlyBraces($value)
    {
        //First we save the delimiters
        $beginningdels = array_keys($this->_delimiters);
        $firstchar = substr($value, 0, 1);
        $lastchar = substr($value, -1, 1);
        $begin = '';
        $end = '';
        while (in_array($firstchar, $beginningdels)) { //The first character is an opening delimiter
            if ($lastchar == $this->_delimiters[$firstchar]) { //Matches to closing Delimiter
                $begin .= $firstchar;
                $end .= $lastchar;
                $value = substr($value, 1, -1);
            } else {
                break;
            }
            $firstchar = substr($value, 0, 1);
            $lastchar = substr($value, -1, 1);
        }
        //Now we get rid of the curly braces
        $pattern = '/([^\\\\]|^)?\{(.*?[^\\\\])\}/';
        $replacement = '$1$2';
        $value = preg_replace($pattern, $replacement, $value);
        //Reattach delimiters
        $value = $begin . $value . $end;
        return $value;
    }