Commit Graph

17 Commits (2af4a5f9fd206386c1b24e340c4b88b802dfdd88)

Author SHA1 Message Date
Aadhavan Srinivasan 4f2f14212c Use contains function, since the content may have multiple characters
Aadhavan Srinivasan df6efcd1f0 Unique append to match indices (ensure match indices aren't repeated
Aadhavan Srinivasan fe5c94b4df Use new unique append to check if unique states have been added to tempStates
Aadhavan Srinivasan 13a57a4347 Stricter check for adding zero-length match at end of string
Aadhavan Srinivasan cda0dfb0cc Match empty string if start state is kleene star
Aadhavan Srinivasan 95654e3e34 Take all possible 0-states (until no more left to take) before checking if we are in an acceptable position
Aadhavan Srinivasan c9fdf5aa6c Restored old behavior with end-of-string - new one didn't seem to work well
Aadhavan Srinivasan cd2b800b04 Fixed greediness of kleene star
Aadhavan Srinivasan 139c88dd58 Started working on '+' operator
Aadhavan Srinivasan c894ee4c0d Renamed match function to 'findAllMatches', to better represent what it does
Aadhavan Srinivasan ce156c4405 Fixed kleene star matching at end of string - failed test a* and ppppppppaaaaaaaa
Aadhavan Srinivasan 9d786997df Initial support for multiple matching
Aadhavan Srinivasan 60b798d904 Working on multiple matching
Aadhavan Srinivasan 11dd6aeb7c More Kleene star fixes
Aadhavan Srinivasan 9d3bc2b804 Fixed kleene star behavior, which used to behave like a '+'
Aadhavan Srinivasan bc11777ad5 Fixed Kleene Star matching
Aadhavan Srinivasan d191686168 Rudimentary matching works