private function getWhitelistRegExp($isLibrary) {
    $whitelist = $this->h5pF->getWhitelist($isLibrary, H5PCore::$defaultContentWhitelist, H5PCore::$defaultLibraryWhitelistExtras);
    return array($whitelist, '/\.(' . preg_replace('/ +/i', '|', preg_quote($whitelist)) . ')$/i');
  }
private function getWhitelistRegExp($isLibrary) {
    $whitelist = $this->h5pF->getWhitelist($isLibrary, H5PCore::$defaultContentWhitelist, H5PCore::$defaultLibraryWhitelistExtras);
    return array($whitelist, '/\.(' . preg_replace('/ +/i', '|', preg_quote($whitelist)) . ')$/i');
  }
private function getWhitelistRegExp ( $ isLibrary ) { $ whitelist = $ this -> h5pF -> getWhitelist ( $ isLibrary , H5PCore :: $ defaultContentWhitelist , H5PCore :: $ defaultLibraryWhitelistExtras ) ; return array ( $ whitelist , '/\.(' . preg_replace ( '/ +/i' , '|' , preg_quote ( $ whitelist ) ) . ')$/i' ) ; }
Help retrieve file type regexp whitelist from plugin.

@param bool $isLibrary Separate list with more allowed file types
@return string RegExp
Help retrieve file type regexp whitelist from plugin .