original_string: protected function directiveAddOption($line)
      {
          if (preg_match('/^(\s+):(.+): (.*)$/mUsi', $line, $match)) {
              $this->directive['options'][$match[2]] = trim($match[3]);
              return true;
          } else if (preg_match('/^(\s+):(.+):(\s*)$/mUsi', $line, $match)) {
              $value = trim($match[3]);
              $this->directive['options'][$match[2]] = true;
              return true;
          } else {
              return false;
          }
      }
code: protected function directiveAddOption($line)
      {
          if (preg_match('/^(\s+):(.+): (.*)$/mUsi', $line, $match)) {
              $this->directive['options'][$match[2]] = trim($match[3]);
              return true;
          } else if (preg_match('/^(\s+):(.+):(\s*)$/mUsi', $line, $match)) {
              $value = trim($match[3]);
              $this->directive['options'][$match[2]] = true;
              return true;
          } else {
              return false;
          }
      }
code_tokens: protected function directiveAddOption ( $ line ) { if ( preg_match ( '/^(\s+):(.+): (.*)$/mUsi' , $ line , $ match ) ) { $ this -> directive [ 'options' ] [ $ match [ 2 ] ] = trim ( $ match [ 3 ] ) ; return true ; } else if ( preg_match ( '/^(\s+):(.+):(\s*)$/mUsi' , $ line , $ match ) ) { $ value = trim ( $ match [ 3 ] ) ; $ this -> directive [ 'options' ] [ $ match [ 2 ] ] = true ; return true ; } else { return false ; } }
docstring: Try to add an option line to the current directive, returns true if sucess
  and false if failure
  
  @param string $line
docstring_tokens: Try to add an option line to the current directive returns true if sucess and false if failure