LeechCraft  0.6.70-18450-gabe19ee3b0
Modular cross-platform feature rich live environment.
regexp.h File Reference
#include "sllconfig.h"
#include <memory>
#include <QString>
#include <QMetaType>
#include <QRegularExpression>
#include "visitor.h"
+ Include dependency graph for regexp.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  LC::Util::RegExp
 
struct  LC::Util::StopReplace
 
struct  LC::Util::ReplaceAdvance
 

Namespaces

 LC::Util
 

Typedefs

using LC::Util::ReplacerResult = std::variant< StopReplace, ReplaceAdvance >
 

Functions

template<typename R >
void LC::Util::ReplaceByRegexp (QString &body, const QRegularExpression &rx, R &&replacer) requires requires
 
 LC::Util::while (keepGoing)
 
UTIL_SLL_API QDataStream & operator<< (QDataStream &, const LC::Util::RegExp &)
 
UTIL_SLL_API QDataStream & operator>> (QDataStream &, LC::Util::RegExp &)
 

Variables

bool LC::Util::keepGoing = true
 

Function Documentation

◆ operator<<()

UTIL_SLL_API QDataStream& operator<< ( QDataStream &  ,
const LC::Util::RegExp  
)

Definition at line 61 of file regexp.cpp.

References LC::Util::RegExp::GetCaseSensitivity(), and LC::Util::RegExp::GetPattern().

+ Here is the call graph for this function:

◆ operator>>()

UTIL_SLL_API QDataStream& operator>> ( QDataStream &  ,
LC::Util::RegExp  
)

Definition at line 69 of file regexp.cpp.