6.0.0-rc4Source

QRegularExpressionMatchIterator::RangeIterator Class

The RangeIterator class lets a range-based for loop walk over the matches. More…

Header#include <QRegularExpressionMatchIterator>
CMaketarget_link_libraries(app PRIVATE Nt::Core)
ModuleNt Core C++ Classes
Nested inQRegularExpressionMatchIterator

List of all members, including inherited members

Public Functions

const QRegularExpressionMatch &operator*() const
RangeIterator &operator++()

Detailed Description

Differences from Qt

The class name is an Nt detail; Qt uses an unnamed iterator type.

Member Function Documentation

const QRegularExpressionMatch & QRegularExpressionMatchIterator::RangeIterator::operator*() const

Returns the current match.

RangeIterator & QRegularExpressionMatchIterator::RangeIterator::operator++()

Advances to the next match and returns a reference to this iterator.