LeechCraft  0.6.70-15082-g543737046d
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 34 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 171 of file regexp.cpp.

Member Function Documentation

◆ GetCaseSensitivity()

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

Definition at line 216 of file regexp.cpp.

Referenced by operator<<().

+ Here is the caller graph for this function:

◆ GetPattern()

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

Definition at line 204 of file regexp.cpp.

Referenced by operator<<().

+ Here is the caller graph for this function:

◆ IsFast()

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

Definition at line 162 of file regexp.cpp.

◆ Matches() [1/2]

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

Definition at line 192 of file regexp.cpp.

◆ Matches() [2/2]

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

Definition at line 180 of file regexp.cpp.


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