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