QRegularExpression

Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
extern (C++) extern (C++)
@Q_MOVABLE_TYPE
@QMetaType.Type.QRegularExpression
struct QRegularExpression {}

Constructors

this
this()
Undocumented in source.
this
this(const(QString) pattern, PatternOptions options)
Undocumented in source.
this
this(const(QRegularExpression) re)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Postblit

this(this)
this(this)
Undocumented in source.

Members

Aliases

MatchOptions
alias MatchOptions = QFlags!(MatchOption)
Undocumented in source.
PatternOptions
alias PatternOptions = QFlags!(PatternOption)
Undocumented in source.

Enums

MatchOption
enum MatchOption
Undocumented in source.
MatchType
enum MatchType
Undocumented in source.
PatternOption
enum PatternOption
Undocumented in source.

Functions

captureCount
int captureCount()
Undocumented in source.
errorString
QString errorString()
Undocumented in source.
globalMatch
QRegularExpressionMatchIterator globalMatch(const(QString) subject, int offset, MatchType matchType, MatchOptions matchOptions)
Undocumented in source.
globalMatch
QRegularExpressionMatchIterator globalMatch(const(QStringRef) subjectRef, int offset, MatchType matchType, MatchOptions matchOptions)
Undocumented in source.
globalMatch
QRegularExpressionMatchIterator globalMatch(QStringView subject, int offset, MatchType matchType, MatchOptions matchOptions)
Undocumented in source. Be warned that the author may not have intended to support it.
isValid
bool isValid()
Undocumented in source.
match
QRegularExpressionMatch match(const(QString) subject, int offset, MatchType matchType, MatchOptions matchOptions)
Undocumented in source.
match
QRegularExpressionMatch match(const(QStringRef) subjectRef, int offset, MatchType matchType, MatchOptions matchOptions)
Undocumented in source.
match
QRegularExpressionMatch match(QStringView subject, int offset, MatchType matchType, MatchOptions matchOptions)
Undocumented in source. Be warned that the author may not have intended to support it.
namedCaptureGroups
QStringList namedCaptureGroups()
Undocumented in source.
optimize
void optimize()
Undocumented in source.
pattern
QString pattern()
Undocumented in source.
patternErrorOffset
int patternErrorOffset()
Undocumented in source.
patternOptions
PatternOptions patternOptions()
Undocumented in source.
rawConstructor
typeof(this) rawConstructor()
Undocumented in source.
setPattern
void setPattern(const(QString) pattern)
Undocumented in source.
setPatternOptions
void setPatternOptions(PatternOptions options)
Undocumented in source.

Static functions

anchoredPattern
QString anchoredPattern(const(QString) expression)
Undocumented in source. Be warned that the author may not have intended to support it.
anchoredPattern
QString anchoredPattern(QStringView expression)
Undocumented in source.
create
typeof(this) create()
Undocumented in source. Be warned that the author may not have intended to support it.
escape
QString escape(const(QString) str)
Undocumented in source.
escape
QString escape(QStringView str)
Undocumented in source.
wildcardToRegularExpression
QString wildcardToRegularExpression(const(QString) str)
Undocumented in source.
wildcardToRegularExpression
QString wildcardToRegularExpression(QStringView str)
Undocumented in source.

Meta