Back to index

php5  5.3.10
regexfindfile.inc
Go to the documentation of this file.
00001 <?php
00002 
00018 class RegexFindFile extends FindFile
00019 {
00027        function __construct($path, $regex)
00028        {
00029               parent::__construct($path, $regex);
00030        }
00031 
00034        function accept()
00035        {
00036               return preg_match($this->getSearch(), $this->current());
00037        }
00038 }
00039 
00040 ?>