1.20.x system.tar.inc public Archive_Tar::setIgnoreRegexp($regexp)

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:

File

modules/system/system.tar.inc, line 778

Class

Archive_Tar

Code

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