Override RegexIterator::accept() inside RecursiveRegexIterator