LeechCraft  0.6.70-13605-g8cd066ad6a
Modular cross-platform feature rich live environment.
LC::Util::RegExp Class Reference

#include "regexp.h"

Public Member Functions

 RegExp ()=default
 
 RegExp (const QString &, Qt::CaseSensitivity)
 
bool Matches (const QString &) const
 
bool Matches (const QByteArray &) const
 
QString GetPattern () const
 
Qt::CaseSensitivity GetCaseSensitivity () const
 

Static Public Member Functions

static bool IsFast ()
 

Detailed Description

Definition at line 94 of file regexp.h.

Constructor & Destructor Documentation

◆ RegExp() [1/2]

LC::Util::RegExp::RegExp ( )
default

◆ RegExp() [2/2]

LC::Util::RegExp::RegExp ( const QString &  str,
Qt::CaseSensitivity  cs 
)

Definition at line 232 of file regexp.cpp.

Member Function Documentation

◆ GetCaseSensitivity()

Qt::CaseSensitivity LC::Util::RegExp::GetCaseSensitivity ( ) const

Definition at line 277 of file regexp.cpp.

◆ GetPattern()

QString LC::Util::RegExp::GetPattern ( ) const

Definition at line 265 of file regexp.cpp.

◆ IsFast()

bool LC::Util::RegExp::IsFast ( )
static

Definition at line 223 of file regexp.cpp.

◆ Matches() [1/2]

bool LC::Util::RegExp::Matches ( const QByteArray &  ba) const

Definition at line 253 of file regexp.cpp.

◆ Matches() [2/2]

bool LC::Util::RegExp::Matches ( const QString &  str) const

Definition at line 241 of file regexp.cpp.


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