(PHP 5 >= 5.2.0, PHP 7)
This recursive iterator can filter another recursive iterator via a regular expression.
$iterator
$regex
$mode
$flags
$preg_flags