(PHP 5 >= 5.2.0, PHP 7)
Creates a new RecursiveRegexIterator.
public RecursiveRegexIterator::__construct ( RecursiveIterator $iterator , string $regex [, int $mode = self::MATCH [, int $flags = 0 [, int $preg_flags = 0 ]]] )
Creates a new regular expression iterator.
Parameters:
iterator
The recursive iterator to apply this regex filter to.
regex
The