- All Implemented Interfaces:
QtObjectInterface
,Cloneable
public class QRegularExpression extends QtObject implements Cloneable
Pattern matching using regular expressions
Java wrapper for Qt class QRegularExpression
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QRegularExpression.MatchOption
Java wrapper for Qt enum QRegularExpression::MatchOptionstatic class
QRegularExpression.MatchOptions
QFlags type for enumQRegularExpression.MatchOption
static class
QRegularExpression.MatchType
Java wrapper for Qt enum QRegularExpression::MatchTypestatic class
QRegularExpression.PatternOption
Java wrapper for Qt enum QRegularExpression::PatternOptionstatic class
QRegularExpression.PatternOptions
QFlags type for enumQRegularExpression.PatternOption
-
Constructor Summary
Constructors Modifier Constructor Description QRegularExpression()
QRegularExpression(QRegularExpression re)
protected
QRegularExpression(QtObject.QPrivateConstructor p)
Constructor for internal use only.QRegularExpression(String pattern)
Overloaded constructor forQRegularExpression(java.lang.String, io.qt.core.QRegularExpression.PatternOptions)
withoptions = new io.qt.core.QRegularExpression.PatternOptions(0)
.QRegularExpression(String pattern, QRegularExpression.PatternOption... options)
Overloaded constructor forQRegularExpression(java.lang.String, io.qt.core.QRegularExpression.PatternOptions)
.QRegularExpression(String pattern, QRegularExpression.PatternOptions options)
-
Method Summary
-
Constructor Details
-
QRegularExpression
public QRegularExpression() -
QRegularExpression
-
QRegularExpression
Overloaded constructor for
QRegularExpression(java.lang.String, io.qt.core.QRegularExpression.PatternOptions)
. -
QRegularExpression
Overloaded constructor for
QRegularExpression(java.lang.String, io.qt.core.QRegularExpression.PatternOptions)
withoptions = new io.qt.core.QRegularExpression.PatternOptions(0)
. -
QRegularExpression
-
QRegularExpression
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
captureCount
-
errorString
-
globalMatch
@QtUninvokable public final QRegularExpressionMatchIterator globalMatch(String subject, int offset, QRegularExpression.MatchType matchType, QRegularExpression.MatchOption... matchOptions) -
globalMatch
@QtUninvokable public final QRegularExpressionMatchIterator globalMatch(String subject, int offset, QRegularExpression.MatchType matchType)Overloaded function for
globalMatch(java.lang.String, int, io.qt.core.QRegularExpression.MatchType, io.qt.core.QRegularExpression.MatchOptions)
withmatchOptions = new io.qt.core.QRegularExpression.MatchOptions(0)
. -
globalMatch
@QtUninvokable public final QRegularExpressionMatchIterator globalMatch(String subject, int offset)Overloaded function for
globalMatch(java.lang.String, int, io.qt.core.QRegularExpression.MatchType, io.qt.core.QRegularExpression.MatchOptions)
with:
matchType = io.qt.core.QRegularExpression.MatchType.NormalMatch
matchOptions = new io.qt.core.QRegularExpression.MatchOptions(0)
-
globalMatch
Overloaded function for
globalMatch(java.lang.String, int, io.qt.core.QRegularExpression.MatchType, io.qt.core.QRegularExpression.MatchOptions)
with:
offset = 0
matchType = io.qt.core.QRegularExpression.MatchType.NormalMatch
matchOptions = new io.qt.core.QRegularExpression.MatchOptions(0)
-
globalMatch
@QtUninvokable public final QRegularExpressionMatchIterator globalMatch(String subject, int offset, QRegularExpression.MatchType matchType, QRegularExpression.MatchOptions matchOptions) -
isValid
-
match
@QtUninvokable public final QRegularExpressionMatch match(String subject, int offset, QRegularExpression.MatchType matchType, QRegularExpression.MatchOption... matchOptions) -
match
@QtUninvokable public final QRegularExpressionMatch match(String subject, int offset, QRegularExpression.MatchType matchType)Overloaded function for
match(java.lang.String, int, io.qt.core.QRegularExpression.MatchType, io.qt.core.QRegularExpression.MatchOptions)
withmatchOptions = new io.qt.core.QRegularExpression.MatchOptions(0)
. -
match
Overloaded function for
match(java.lang.String, int, io.qt.core.QRegularExpression.MatchType, io.qt.core.QRegularExpression.MatchOptions)
with:
matchType = io.qt.core.QRegularExpression.MatchType.NormalMatch
matchOptions = new io.qt.core.QRegularExpression.MatchOptions(0)
-
match
Overloaded function for
match(java.lang.String, int, io.qt.core.QRegularExpression.MatchType, io.qt.core.QRegularExpression.MatchOptions)
with:
offset = 0
matchType = io.qt.core.QRegularExpression.MatchType.NormalMatch
matchOptions = new io.qt.core.QRegularExpression.MatchOptions(0)
-
match
@QtUninvokable public final QRegularExpressionMatch match(String subject, int offset, QRegularExpression.MatchType matchType, QRegularExpression.MatchOptions matchOptions) -
namedCaptureGroups
-
writeTo
-
readFrom
-
optimize
-
pattern
-
patternErrorOffset
-
patternOptions
-
setPattern
-
setPatternOptions
Overloaded function for
setPatternOptions(io.qt.core.QRegularExpression.PatternOptions)
. -
setPatternOptions
-
swap
-
anchoredPattern
-
escape
-
wildcardToRegularExpression
-
equals
Description copied from class:QtObject
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface. Otherwise it will return the result of calling the super class implementation. -
hashCode
public int hashCode() -
toString
-
clone
-