The RecursiveRegexIterator class

Introduction

This recursive iterator can filter another recursive iterator via a regular expression.

Class synopsis

RecursiveRegexIterator
extends RegexIterator
implements RecursiveIterator
/* Inherited constants */
public const int RegexIterator::USE_KEY;
public const int RegexIterator::INVERT_MATCH;
public const int RegexIterator::MATCH;
public const int RegexIterator::GET_MATCH;
public const int RegexIterator::ALL_MATCHES;
public const int RegexIterator::SPLIT;
public const int RegexIterator::REPLACE;
/* Inherited properties */
public stringnull $replacement = null;
/* Methods */
public RecursiveRegexIterator::__construct(
    RecursiveIterator $iterator,
    string $pattern,
    int $mode = RecursiveRegexIterator::MATCH,
    int $flags = 0,
    int $pregFlags = 0
)
public RecursiveRegexIterator RecursiveRegexIterator::getChildren()
public bool RecursiveRegexIterator::hasChildren()
/* Inherited methods */
public bool accept()
public int getFlags()
public int getMode()
public int getPregFlags()
public string getRegex()
public void setFlags(int $flags)
public void setMode(int $mode)
public void setPregFlags(int $pregFlags)
public bool FilterIterator::accept()
public mixed FilterIterator::current()
public mixed FilterIterator::key()
public void FilterIterator::next()
public void FilterIterator::rewind()
public bool FilterIterator::valid()
public mixed IteratorIterator::current()
public Iteratornull IteratorIterator::getInnerIterator()
public mixed IteratorIterator::key()
public void IteratorIterator::next()
public void IteratorIterator::rewind()
public bool IteratorIterator::valid()
Table of Contents