The RecursiveRegexIterator class
(PHP 5 >= 5.2.0)
Introduction
This recursive iterator can filter another recursive iterator via a regular expression.
Class synopsis
/* Methods */
public __construct
( RecursiveIterator
$iterator
, string $regex
[, int $mode
= self::MATCH
[, int $flags
= 0
[, int $preg_flags
= 0
]]] )/* 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.

There are no user contributed notes for this page.