Empirical
|
A basic regular expression handler. More...
#include <RegEx.h>
Public Member Functions | |
RegEx ()=delete | |
RegEx (const std::string &r) | |
RegEx (const RegEx &r) | |
~RegEx () | |
RegEx & | operator= (const RegEx &r) |
Set this RegEx equal to another. More... | |
std::string | AsString () const |
Convert the RegEx to an standard string, readable from outsite this class. More... | |
void | AddToNFA (NFA &nfa, size_t start, size_t stop) const |
Add this regex to an NFA being built. More... | |
void | Generate () const |
Assume the RegEx is ready and setup processing for it. More... | |
bool | Test (const std::string &str) const |
Test if a string statisfies this regex. More... | |
void | PrintInternal () |
For debugging: print the internal representation of the regex. More... | |
void | PrintNotes () |
For debugging: print any internal notes generated about this regex. More... | |
void | PrintDebug () |
Print general debuging information about this regex. More... | |
A basic regular expression handler.
|
delete |
|
inline |
|
inline |
|
inline |
|
inline |
Add this regex to an NFA being built.
|
inline |
Convert the RegEx to an standard string, readable from outsite this class.
void emp::RegEx::Generate | ( | ) | const |
Assume the RegEx is ready and setup processing for it.
|
inline |
Print general debuging information about this regex.
|
inline |
For debugging: print the internal representation of the regex.
|
inline |
For debugging: print any internal notes generated about this regex.
|
inline |
Test if a string statisfies this regex.