An NFA-based regex engine with a library and command-line tool.
 
 
 
Go to file
Aadhavan Srinivasan 8e8e9e133f Fixed matching greediness eg. a(a|b)*a would not match 'aaa' in 'aaab'
.gitignore Added gitignore
Makefile Disable compile-time optimization
go.mod More Kleene star fixes
go.sum Print matched content in color
main.go Concatenate every character if it is escaped
matching.go Fixed matching greediness eg. a(a|b)*a would not match 'aaa' in 'aaab'
misc.go Added map and reduce functions, and a function to return the difference between two sets
nfa.go Use stateContents type to allow a state to store multiple characters
postfixNode.go Wrote function to create a character node regardless of the contents of the node
re_test.go Added more tests
sliceQueue.go Added 'mustPop' function which panics if slice is empty
stateContents.go Added more functions to stateContents type, removed append because I don't think I need it
todo.txt Updated TODO