PythonQt.QtCore.QRegularExpressionMatchIterator · declarations 001
Back to PythonQt.QtCore.QRegularExpressionMatchIterator
hasNext
hasNext() -> bool
X.hasNext() -> bool
Supplemental documentation: Qt 5 reference:
bool QRegularExpressionMatchIterator::hasNext() const
Returns true if there is at least one match result ahead of the iterator; otherwise it
returns false.
See also next().
Upstream PySide2 reference signatures (binding differences may apply):
hasNext(self) -> bool
Source: https://doc.qt.io/archives/qt-5.15/qregularexpressionmatchiterator.html#hasNext
isValid
isValid() -> bool
X.isValid() -> bool
Supplemental documentation: Qt 5 reference:
bool QRegularExpressionMatchIterator::isValid() const
Returns true if the iterator object was obtained as a result from the
QRegularExpression::globalMatch()
function invoked on a valid
QRegularExpression object;
returns false if the
QRegularExpression was
invalid.
See also QRegularExpression::globalMatch() and QRegularExpression::isValid().
Upstream PySide2 reference signatures (binding differences may apply):
isValid(self) -> bool
Source: https://doc.qt.io/archives/qt-5.15/qregularexpressionmatchiterator.html#isValid
matchOptions
matchOptions() -> Any
X.matchOptions()
Supplemental documentation: Qt 5 reference:
QRegularExpression::MatchOptions QRegularExpressionMatchIterator::matchOptions() const
Returns the match options that were used to get this QRegularExpressionMatchIterator object, that is, the match options that were passed to QRegularExpression::globalMatch().
See also QRegularExpression::globalMatch(), regularExpression(), and matchType().
Upstream PySide2 reference signatures (binding differences may apply):
matchOptions(self) -> PySide2.QtCore.QRegularExpression.MatchOptions
Source: https://doc.qt.io/archives/qt-5.15/qregularexpressionmatchiterator.html#matchOptions
matchType
matchType() -> Any
X.matchType()
Supplemental documentation: Qt 5 reference:
QRegularExpression::MatchType QRegularExpressionMatchIterator::matchType() const
Returns the match type that was used to get this QRegularExpressionMatchIterator object, that is, the match type that was passed to QRegularExpression::globalMatch().
See also QRegularExpression::globalMatch(), regularExpression(), and matchOptions().
Upstream PySide2 reference signatures (binding differences may apply):
matchType(self) -> PySide2.QtCore.QRegularExpression.MatchType
Source: https://doc.qt.io/archives/qt-5.15/qregularexpressionmatchiterator.html#matchType
next
next() -> Any
X.next() -> PythonQt.QtCore.QRegularExpressionMatch
Supplemental documentation: Qt 5 reference:
QRegularExpressionMatch QRegularExpressionMatchIterator::next()
Returns the next match result and advances the iterator by one position.
Note: Calling this function when the iterator is at the end of the result set leads to undefined results.
Upstream PySide2 reference signatures (binding differences may apply):
next(self) -> PySide2.QtCore.QRegularExpressionMatch
Source: https://doc.qt.io/archives/qt-5.15/qregularexpressionmatchiterator.html#next
operator_assign
operator_assign(iterator: Any) -> Any
X.operator_assign(iterator) -> PythonQt.QtCore.QRegularExpressionMatchIterator
peekNext
peekNext() -> Any
X.peekNext() -> PythonQt.QtCore.QRegularExpressionMatch
Supplemental documentation: Qt 5 reference:
QRegularExpressionMatch QRegularExpressionMatchIterator::peekNext() const
Returns the next match result without moving the iterator.
Note: Calling this function when the iterator is at the end of the result set leads to undefined results.
Upstream PySide2 reference signatures (binding differences may apply):
peekNext(self) -> PySide2.QtCore.QRegularExpressionMatch
Source: https://doc.qt.io/archives/qt-5.15/qregularexpressionmatchiterator.html#peekNext
regularExpression
regularExpression() -> Any
X.regularExpression() -> PythonQt.QtCore.QRegularExpression
Supplemental documentation: Qt 5 reference:
QRegularExpression QRegularExpressionMatchIterator::regularExpression() const
Returns the QRegularExpression object whose globalMatch() function returned this object.
See also QRegularExpression::globalMatch(), matchType(), and matchOptions().
Upstream PySide2 reference signatures (binding differences may apply):
regularExpression(self) -> PySide2.QtCore.QRegularExpression
Source: https://doc.qt.io/archives/qt-5.15/qregularexpressionmatchiterator.html#regularExpression
swap
swap(other: Any) -> None
X.swap(other)
Supplemental documentation: Qt 5 reference:
void QRegularExpressionMatchIterator::swap(QRegularExpressionMatchIterator \&other)
Swaps the iterator other with this iterator object. This operation is very fast and never fails.
Upstream PySide2 reference signatures (binding differences may apply):
swap(self, other: PySide2.QtCore.QRegularExpressionMatchIterator) -> None
Source: https://doc.qt.io/archives/qt-5.15/qregularexpressionmatchiterator.html#swap