12 namespace Symfony\Component\Finder\Iterator;
33 public function __construct(\Iterator $iterator, array $matchPatterns, array $noMatchPatterns)
35 foreach ($matchPatterns as $pattern) {
36 $this->matchRegexps[] = $this->
toRegex($pattern);
39 foreach ($noMatchPatterns as $pattern) {
40 $this->noMatchRegexps[] = $this->
toRegex($pattern);
43 parent::__construct($iterator);
65 abstract protected function toRegex($str);