PHP - Manual: RecursiveRegexIterator
2024-11-14
(PHP 5 >= 5.2.0, PHP 7, PHP 8)
This recursive iterator can filter another recursive iterator via a regular expression.
$iterator
,$pattern
,$mode
= RecursiveRegexIterator::MATCH,$flags
= 0,$pregFlags
= 0官方地址:https://www.php.net/manual/en/class.recursiveregexiterator.php