Definition at line 61 of file qregexp.h.
Public Types
|
| enum |
PatternSyntax
{
RegExp,
Wildcard,
FixedString,
RegExp2,
WildcardUnix,
W3CXmlSchema11
} |
| enum |
CaretMode
{
CaretAtZero,
CaretAtOffset,
CaretWontMatch } |
Public Member Functions
|
| |
QRegExp
() |
| |
QRegExp
(const QString
&pattern, Qt::CaseSensitivity
cs=Qt::CaseSensitive, PatternSyntax
syntax=RegExp) |
| |
QRegExp
(const QRegExp
&rx) |
| |
~QRegExp
() |
| QRegExp & |
operator=
(const QRegExp
&rx) |
| bool |
operator==
(const QRegExp
&rx) const |
| bool |
operator!=
(const QRegExp
&rx) const |
| bool |
isEmpty
() const |
| bool |
isValid
() const |
| QString |
pattern
() const |
| void |
setPattern
(const QString
&pattern) |
| Qt::CaseSensitivity |
caseSensitivity
() const |
| void |
setCaseSensitivity
(Qt::CaseSensitivity
cs) |
| PatternSyntax |
patternSyntax
() const |
| void |
setPatternSyntax
(PatternSyntax
syntax) |
| bool |
isMinimal
() const |
| void |
setMinimal
(bool minimal) |
| bool |
exactMatch
(const QString
&str) const |
| int |
indexIn
(const QString
&str, int offset=0, CaretMode
caretMode=CaretAtZero) const |
| int |
lastIndexIn
(const QString
&str, int offset=-1, CaretMode
caretMode=CaretAtZero) const |
| int |
matchedLength
() const |
| int |
captureCount
() const |
| QStringList |
capturedTexts
() const |
| QStringList |
capturedTexts
() |
| QString |
cap
(int nth=0) const |
| QString |
cap
(int nth=0) |
| int |
pos
(int nth=0) const |
| int |
pos
(int nth=0) |
| QString |
errorString
() const |
| QString |
errorString
() |
Static Public Member
Functions
|
| static QString |
escape
(const QString
&str) |