original_string: 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;
      }
code: 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;
      }
code_tokens: 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 ; }
docstring: Remove curly braces from entry
  
  @access private
  @param string $value The value in which curly braces to be removed
  @param string Value with removed curly braces
docstring_tokens: Remove curly braces from entry