Obsolete Members for QRegularExpression

以下成員源於類 QRegularExpression 被棄用。 提供它們是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它們。

公共函數

(since 6.0, deprecated) QRegularExpressionMatchIterator globalMatch (QStringView subjectView , qsizetype offset = 0, QRegularExpression::MatchType matchType = NormalMatch, QRegularExpression::MatchOptions matchOptions = NoMatchOption) const
(since 6.0, deprecated) QRegularExpressionMatch match (QStringView subjectView , qsizetype offset = 0, QRegularExpression::MatchType matchType = NormalMatch, QRegularExpression::MatchOptions matchOptions = NoMatchOption) const

成員函數文檔編製

[since 6.0, deprecated] QRegularExpressionMatchIterator QRegularExpression:: globalMatch ( QStringView subjectView , qsizetype offset = 0, QRegularExpression::MatchType matchType = NormalMatch, QRegularExpression::MatchOptions matchOptions = NoMatchOption) const

This function is deprecated. We strongly advise against using it in new code.

這是重載函數。

使用 globalMatchView () 代替。

該函數在 Qt 6.0 引入。

[since 6.0, deprecated] QRegularExpressionMatch QRegularExpression:: match ( QStringView subjectView , qsizetype offset = 0, QRegularExpression::MatchType matchType = NormalMatch, QRegularExpression::MatchOptions matchOptions = NoMatchOption) const

This function is deprecated. We strongly advise against using it in new code.

這是重載函數。

使用 matchView () 代替。

該函數在 Qt 6.0 引入。