Commit Graph

6 Commits

Author SHA1 Message Date
Danila Fedorin e849cc8ba2 Build an "inverted" path to allow for patterns that exclude characters. 2018-02-08 18:40:37 -08:00
Danila Fedorin 6d520028b4 Switch pattern compilation code to const char* 2017-07-20 22:01:24 -07:00
Danila Fedorin bae15027c3 Add a pattern id variable to all nodes. 2017-01-26 15:02:44 -08:00
Danila Fedorin 19ca43d8e4 Add a pattern struct to encompass a pattern NFA and its size.
The size is necessary in free operations - unlike vectors and linked
lists, sparse sets in libds are not dynamically resizable.
2017-01-21 21:18:09 -08:00
Danila Fedorin 54670a1f32 Change the return type of pattern_free. 2017-01-20 23:40:51 -08:00
Danila Fedorin e86518b716 Write a general header file and a header file for regular expressions. 2017-01-19 20:17:55 -08:00