TTKMusicPlayer  3.7.0.0
TTKMusicPlayer imitates Kugou UI, the music player uses of qmmp core library based on Qt for windows and linux
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
RegularExpression Class Reference

The class of the regular expression. More...

#include <regularexpression.h>

Public Member Functions

 RegularExpression ()=default
 
 RegularExpression (const QString &pattern)
 
bool hasMatch (const QString &str)
 
QString value (int index) const
 
 operator QRegularExpression () const
 

Static Public Member Functions

static QString escape (const QString &str)
 

Private Attributes

QRegularExpression m_regular
 
QRegularExpressionMatch m_match
 

Detailed Description

The class of the regular expression.

Author
Greedysky greed.nosp@m.ysky.nosp@m.@163..nosp@m.com

Definition at line 32 of file regularexpression.h.

Constructor & Destructor Documentation

RegularExpression::RegularExpression ( )
default
RegularExpression::RegularExpression ( const QString &  pattern)
explicit

Member Function Documentation

static QString RegularExpression::escape ( const QString &  str)
static
bool RegularExpression::hasMatch ( const QString &  str)
RegularExpression::operator QRegularExpression ( ) const
QString RegularExpression::value ( int  index) const

Member Data Documentation

QRegularExpressionMatch RegularExpression::m_match
private

Definition at line 48 of file regularexpression.h.

QRegularExpression RegularExpression::m_regular
private

Definition at line 46 of file regularexpression.h.


The documentation for this class was generated from the following file: