The RecursiveRegexIterator class
Introduction
This recursive iterator can filter another recursive iterator via a regular expression.
Class synopsis
/* Methods */
public __construct
( RecursiveIterator $iterator
, string $regex
[, int $mode
[, int $flags
[, int $preg_flags
]]] )
/* Inherited methods */
}Table of Contents
- RecursiveRegexIterator::__construct — Creates a new RecursiveRegexIterator.
- RecursiveRegexIterator::getChildren — Returns an iterator for the current entry.
- RecursiveRegexIterator::hasChildren — Returns whether an iterator can be obtained for the current entry.