- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Pattern matching using regular expressions
Java wrapper for Qt class QRegExp
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQRegExp::CaretMode
static enum
Java wrapper for Qt enumQRegExp::PatternSyntax
-
Constructor Summary
ConstructorDescriptionQRegExp()
Overloaded constructor forQRegExp(java.lang.String, io.qt.core.Qt.CaseSensitivity, io.qt.core.QRegExp.PatternSyntax)
QRegExp
(String pattern, Qt.CaseSensitivity cs) Overloaded constructor forQRegExp(java.lang.String, io.qt.core.Qt.CaseSensitivity, io.qt.core.QRegExp.PatternSyntax)
withsyntax = io.qt.core.QRegExp.PatternSyntax.RegExp
.QRegExp
(String pattern, Qt.CaseSensitivity cs, QRegExp.PatternSyntax syntax) -
Method Summary
Modifier and TypeMethodDescriptionfinal void
final String
cap()
Overloaded function forcap(int)
withnth = 0
.final String
cap
(int nth) final int
final QStringList
final Qt.CaseSensitivity
clone()
Creates and returns a copy of this object.final boolean
boolean
final String
static String
final boolean
exactMatch
(String str) int
hashCode()
Returns the objects's hash code computed byqHash(QRegExp)
.final int
Overloaded function forindexIn(java.lang.String, int, io.qt.core.QRegExp.CaretMode)
final int
Overloaded function forindexIn(java.lang.String, int, io.qt.core.QRegExp.CaretMode)
withcaretMode = io.qt.core.QRegExp.CaretMode.CaretAtZero
.final int
indexIn
(String str, int offset, QRegExp.CaretMode caretMode) final boolean
isEmpty()
final boolean
final boolean
isValid()
final int
lastIndexIn
(String str) Overloaded function forlastIndexIn(java.lang.String, int, io.qt.core.QRegExp.CaretMode)
final int
lastIndexIn
(String str, int offset) Overloaded function forlastIndexIn(java.lang.String, int, io.qt.core.QRegExp.CaretMode)
withcaretMode = io.qt.core.QRegExp.CaretMode.CaretAtZero
.final int
lastIndexIn
(String str, int offset, QRegExp.CaretMode caretMode) final int
final String
pattern()
final QRegExp.PatternSyntax
final int
pos()
Overloaded function forpos(int)
withnth = 0
.final int
pos
(int nth) void
readFrom
(QDataStream in) Seeoperator>>(QDataStream&,
QRegExp&) final void
final void
setMinimal
(boolean minimal) final void
setPattern
(String pattern) final void
final void
toString()
Seeoperator<<(QDebug,
QRegExp) void
writeTo
(QDataStream out) Seeoperator<<(QDataStream&,
QRegExp) Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QRegExp
public QRegExp() -
QRegExp
-
QRegExp
-
QRegExp
Overloaded constructor for
QRegExp(java.lang.String, io.qt.core.Qt.CaseSensitivity, io.qt.core.QRegExp.PatternSyntax)
withsyntax = io.qt.core.QRegExp.PatternSyntax.RegExp
. -
QRegExp
Overloaded constructor for
QRegExp(java.lang.String, io.qt.core.Qt.CaseSensitivity, io.qt.core.QRegExp.PatternSyntax)
with:
cs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
syntax = io.qt.core.QRegExp.PatternSyntax.RegExp
-
-
Method Details
-
cap
-
captureCount
-
capturedTexts
-
caseSensitivity
-
errorString
-
exactMatch
-
indexIn
-
isEmpty
-
isMinimal
-
isValid
-
lastIndexIn
-
matchedLength
-
writeTo
See
operator<<(QDataStream&,
QRegExp) -
assign
-
equals
-
readFrom
See
operator>>(QDataStream&,
QRegExp&) -
pattern
-
patternSyntax
-
pos
-
setCaseSensitivity
-
setMinimal
-
setPattern
-
setPatternSyntax
-
swap
-
escape
-
equals
-
hashCode
Returns the objects's hash code computed byqHash(QRegExp)
. -
toString
See
operator<<(QDebug,
QRegExp) -
clone
Creates and returns a copy of this object.
-
cap
Overloaded function for
cap(int)
withnth = 0
. -
indexIn
Overloaded function for
indexIn(java.lang.String, int, io.qt.core.QRegExp.CaretMode)
withcaretMode = io.qt.core.QRegExp.CaretMode.CaretAtZero
. -
indexIn
Overloaded function for
indexIn(java.lang.String, int, io.qt.core.QRegExp.CaretMode)
with:
offset = 0
caretMode = io.qt.core.QRegExp.CaretMode.CaretAtZero
-
lastIndexIn
Overloaded function for
lastIndexIn(java.lang.String, int, io.qt.core.QRegExp.CaretMode)
withcaretMode = io.qt.core.QRegExp.CaretMode.CaretAtZero
. -
lastIndexIn
Overloaded function for
lastIndexIn(java.lang.String, int, io.qt.core.QRegExp.CaretMode)
with:
offset = -1
caretMode = io.qt.core.QRegExp.CaretMode.CaretAtZero
-
pos
Overloaded function for
pos(int)
withnth = 0
.
-