java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.core.QRegularExpressionMatch
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
public class QRegularExpressionMatch extends QtObject implements Cloneable
The results of a matching a QRegularExpression against a string
Java wrapper for Qt class QRegularExpressionMatch
-
Nested Class Summary
-
Constructor Summary
Constructors Modifier Constructor Description QRegularExpressionMatch()
protected
QRegularExpressionMatch(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
Modifier and Type Method Description String
captured()
Overloaded function forcaptured(int)
withnth = 0
.String
captured(int nth)
String
captured(String name)
int
capturedEnd()
Overloaded function forcapturedEnd(int)
withnth = 0
.int
capturedEnd(int nth)
int
capturedEnd(String name)
int
capturedLength()
Overloaded function forcapturedLength(int)
withnth = 0
.int
capturedLength(int nth)
int
capturedLength(String name)
int
capturedStart()
Overloaded function forcapturedStart(int)
withnth = 0
.int
capturedStart(int nth)
int
capturedStart(String name)
List<String>
capturedTexts()
QRegularExpressionMatch
clone()
boolean
hasMatch()
boolean
hasPartialMatch()
boolean
isValid()
int
lastCapturedIndex()
QRegularExpression.MatchOptions
matchOptions()
QRegularExpression.MatchType
matchType()
QRegularExpression
regularExpression()
void
swap(QRegularExpressionMatch other)
String
toString()
-
Constructor Details
-
QRegularExpressionMatch
public QRegularExpressionMatch() -
QRegularExpressionMatch
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
captured
-
captured
Overloaded function for
captured(int)
withnth = 0
. -
captured
-
capturedEnd
-
capturedEnd
Overloaded function for
capturedEnd(int)
withnth = 0
. -
capturedEnd
-
capturedLength
-
capturedLength
Overloaded function for
capturedLength(int)
withnth = 0
. -
capturedLength
-
capturedStart
-
capturedStart
Overloaded function for
capturedStart(int)
withnth = 0
. -
capturedStart
-
capturedTexts
-
hasMatch
-
hasPartialMatch
-
isValid
-
lastCapturedIndex
-
matchOptions
-
matchType
-
regularExpression
-
swap
-
toString
-
clone
-