Fixed regex! Much simpler and sensible implementation too.
This commit is contained in:
@@ -16,8 +16,7 @@ class RegEx {
|
||||
RegEx(std::string inPattern);
|
||||
~RegEx();
|
||||
|
||||
void construct();
|
||||
void deperenthesize();
|
||||
RegExState* construct(std::vector<RegExState*>* ending, std::string pattern);
|
||||
int longMatch(std::string stringToMatch);
|
||||
std::string getPattern();
|
||||
std::string toString();
|
||||
|
||||
@@ -12,5 +12,6 @@
|
||||
std::string intToString(int theInt);
|
||||
std::string replaceExEscape(std::string first, std::string search, std::string replace);
|
||||
std::string strSlice(std::string str, int begin, int end);
|
||||
int findPerenEnd(std::string str, int i);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user