Perens now work fully! The RegEx part of Kraken should now be fully legitimate. The only problem is not gracefully letting the user know about faulty input, but that goes for all of Kraken.
This commit is contained in:
@@ -18,8 +18,16 @@ class RegExState {
|
||||
void addNext(RegExState* nextState);
|
||||
bool characterIs(char inCharacter);
|
||||
std::vector<RegExState*>* advance(char advanceCharacter);
|
||||
std::vector<RegExState*>* getNextStates();
|
||||
|
||||
RegExState* getInner();
|
||||
|
||||
bool isGoal();
|
||||
std::string toString();
|
||||
std::string toString(RegExState* avoid);
|
||||
std::string toString(std::vector<RegExState*>* avoid);
|
||||
|
||||
char getCharacter();
|
||||
|
||||
private:
|
||||
std::vector<RegExState*> nextStates;
|
||||
|
||||
Reference in New Issue
Block a user