public function Archive_Tar::setIgnoreRegexp

This method sets the regular expression for ignoring files and directories at import, for example: $arch->setIgnoreRegexp("#CVS|\.svn#");

Parameters

string $regexp regular expression defining which files or directories to ignore:

1 call to Archive_Tar::setIgnoreRegexp()
Archive_Tar::setIgnoreList in drupal/modules/system/system.tar.inc
This method sets the regular expression for ignoring all files and directories matching the filenames in the array list at import, for example: $arch->setIgnoreList(array('CVS', '.svn', 'bin/tool'));

File

drupal/modules/system/system.tar.inc, line 760

Class

Archive_Tar

Code

public function setIgnoreRegexp($regexp) {
  $this->_ignore_regexp = $regexp;
}