#include <qregexp.h>
Public Types | |
| enum | PatternSyntax { RegExp, Wildcard, FixedString, RegExp2, WildcardUnix, W3CXmlSchema11 } |
| enum | CaretMode { CaretAtZero, CaretAtOffset, CaretWontMatch } |
Static Public Member Functions | |
| static QString | escape (const QString &str) |
| enum PatternSyntax |
| Enumerator | |
|---|---|
| RegExp | |
| Wildcard | |
| FixedString | |
| RegExp2 | |
| WildcardUnix | |
| W3CXmlSchema11 | |
Definition at line 64 of file qregexp.h.
| enum CaretMode |
| Enumerator | |
|---|---|
| CaretAtZero | |
| CaretAtOffset | |
| CaretWontMatch | |
| QRegExp | ( | ) |
|
explicit |
| ~QRegExp | ( | ) |
Definition at line 83 of file qregexp.h.
| bool operator== | ( | const QRegExp & | rx | ) | const |
|
inline |
| bool isEmpty | ( | ) | const |
| bool isValid | ( | ) | const |
| QString pattern | ( | ) | const |
| 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 errorString | ( | ) | const |
| QString errorString | ( | ) |