Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
FRegexMatcher Class Reference

#include <Regex.h>

+ Collaboration diagram for FRegexMatcher:

Public Member Functions

 FRegexMatcher (const FRegexPattern &SourcePattern, const FString &Input)
 
 FRegexMatcher (FRegexPattern &&SourcePattern, const FString &Input)
 
 FRegexMatcher (const FRegexMatcher &)=delete
 
FRegexMatcheroperator= (const FRegexMatcher &)=delete
 
 FRegexMatcher (FRegexMatcher &&)=default
 
FRegexMatcheroperator= (FRegexMatcher &&)=default
 
bool FindNext ()
 
int32 GetMatchBeginning ()
 
int32 GetMatchEnding ()
 
int32 GetCaptureGroupBeginning (const int32 Index)
 
int32 GetCaptureGroupEnding (const int32 Index)
 
FString GetCaptureGroup (const int32 Index)
 
int32 GetBeginLimit ()
 
int32 GetEndLimit ()
 
void SetLimits (const int32 BeginIndex, const int32 EndIndex)
 

Private Attributes

FRegexPattern Pattern
 
TSharedRef< FRegexMatcherImplementationImplementation
 

Detailed Description

Implements a regular expression pattern matcher.

Note
DO NOT use this class as a file-level variable as its construction relies on the internationalization system being initialized!

Definition at line 43 of file Regex.h.

Constructor & Destructor Documentation

◆ FRegexMatcher() [1/4]

FRegexMatcher::FRegexMatcher ( const FRegexPattern & SourcePattern,
const FString & Input )

◆ FRegexMatcher() [2/4]

FRegexMatcher::FRegexMatcher ( FRegexPattern && SourcePattern,
const FString & Input )

◆ FRegexMatcher() [3/4]

FRegexMatcher::FRegexMatcher ( const FRegexMatcher & )
delete

◆ FRegexMatcher() [4/4]

FRegexMatcher::FRegexMatcher ( FRegexMatcher && )
default

Member Function Documentation

◆ FindNext()

bool FRegexMatcher::FindNext ( )

◆ GetBeginLimit()

int32 FRegexMatcher::GetBeginLimit ( )

◆ GetCaptureGroup()

FString FRegexMatcher::GetCaptureGroup ( const int32 Index)

◆ GetCaptureGroupBeginning()

int32 FRegexMatcher::GetCaptureGroupBeginning ( const int32 Index)

◆ GetCaptureGroupEnding()

int32 FRegexMatcher::GetCaptureGroupEnding ( const int32 Index)

◆ GetEndLimit()

int32 FRegexMatcher::GetEndLimit ( )

◆ GetMatchBeginning()

int32 FRegexMatcher::GetMatchBeginning ( )

◆ GetMatchEnding()

int32 FRegexMatcher::GetMatchEnding ( )

◆ operator=() [1/2]

FRegexMatcher & FRegexMatcher::operator= ( const FRegexMatcher & )
delete

◆ operator=() [2/2]

FRegexMatcher & FRegexMatcher::operator= ( FRegexMatcher && )
default

◆ SetLimits()

void FRegexMatcher::SetLimits ( const int32 BeginIndex,
const int32 EndIndex )

Member Data Documentation

◆ Implementation

TSharedRef<FRegexMatcherImplementation> FRegexMatcher::Implementation
private

Definition at line 70 of file Regex.h.

◆ Pattern

FRegexPattern FRegexMatcher::Pattern
private

Definition at line 69 of file Regex.h.


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