MultiplePcreFilterIterator
abstract class MultiplePcreFilterIterator extends FilterIterator
MultiplePcreFilterIterator filters files using patterns (regexps, globs or strings).
Properties
protected | $matchRegexps | ||
protected | $noMatchRegexps |
Methods
bool
isAccepted(string $string)
Checks whether the string is accepted by the regex filters.
bool
isRegex(string $str)
Checks whether the string is a regex.
string
toRegex(string $str)
Converts string into regexp.