The RecursiveRegexIterator class
(PHP 5 >= 5.2.0, PHP 7)
简介
This recursive iterator can filter another recursive iterator via a regular expression.
类摘要
/* 继承的常量 */
/* 方法 */
public __construct
( RecursiveIterator
$iterator
, string $regex
[, int $mode
= self::MATCH
[, int $flags
= 0
[, int $preg_flags
= 0
]]] )/* 继承的方法 */
}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