original_string: protected function detect_plugin_component_from_versionphp($code) {
  
          $result = preg_match_all('#^\s*\$plugin\->component\s*=\s*([\'"])(.+?_.+?)\1\s*;#m', $code, $matches);
  
          // Return if and only if the single match was detected.
          if ($result === 1 and !empty($matches[2][0])) {
              return $matches[2][0];
          }
  
          return false;
      }
code: protected function detect_plugin_component_from_versionphp($code) {
  
          $result = preg_match_all('#^\s*\$plugin\->component\s*=\s*([\'"])(.+?_.+?)\1\s*;#m', $code, $matches);
  
          // Return if and only if the single match was detected.
          if ($result === 1 and !empty($matches[2][0])) {
              return $matches[2][0];
          }
  
          return false;
      }
code_tokens: protected function detect_plugin_component_from_versionphp ( $ code ) { $ result = preg_match_all ( '#^\s*\$plugin\->component\s*=\s*([\'"])(.+?_.+?)\1\s*;#m' , $ code , $ matches ) ; // Return if and only if the single match was detected. if ( $ result === 1 and ! empty ( $ matches [ 2 ] [ 0 ] ) ) { return $ matches [ 2 ] [ 0 ] ; } return false ; }
docstring: Return the plugin component declared in its version.php file
  
  @param string $code the contents of the version.php file
  @return string|bool declared plugin component or false if unable to detect
docstring_tokens: Return the plugin component declared in its version . php file