Torque3D Documentation / _generateds / internal::GenericRegexSearch

internal::GenericRegexSearch

Engine/source/persistence/rapidjson/internal/regex.h

More...

Public Types

Encoding::Ch
Ch 
RegexType::EncodingType
Encoding 

Private Types

RegexType::Range
Range 
RegexType::State
State 

Public Functions

GenericRegexSearch(const RegexType & regex, Allocator * allocator)
bool
Match(const Ch * s)
bool
Match(InputStream & is)
bool
bool
Search(InputStream & is)

Private Functions

bool
size_t
bool
MatchRange(SizeType rangeIndex, unsigned codepoint)
bool
SearchWithAnchoring(InputStream & is, bool anchorBegin, bool anchorEnd)

Detailed Description

Public Types

typedef Encoding::Ch Ch 
typedef RegexType::EncodingType Encoding 

Private Types

typedef RegexType::Range Range 
typedef RegexType::State State 

Private Attributes

Allocator * allocator_ 
Allocator * ownAllocator_ 
const RegexType & regex_ 
Stack< Allocator > state0_ 
Stack< Allocator > state1_ 
uint32_t * stateSet_ 

Public Functions

GenericRegexSearch(const RegexType & regex, Allocator * allocator)

~GenericRegexSearch()

Match(const Ch * s)

Match(InputStream & is)

Search(const Ch * s)

Search(InputStream & is)

Private Functions

AddState(Stack< Allocator > & l, SizeType index)

GetStateSetSize()

MatchRange(SizeType rangeIndex, unsigned codepoint)

SearchWithAnchoring(InputStream & is, bool anchorBegin, bool anchorEnd)