An NFA-based regex engine with a library and command-line tool.
 
 
 
Go to file
Aadhavan Srinivasan 96b3009c14 Updated TODO
.gitignore Added gitignore
Makefile Disable compile-time optimization
go.mod More Kleene star fixes
go.sum Print matched content in color
main.go Added support for character classes (not ranges, yet); also take input from stdin instead of cmdline arg
matching.go Use contains function, since the content may have multiple characters
misc.go Added function allEqual - checks if all given values are equal
nfa.go Use stateContents type to allow a state to store multiple characters
postfixNode.go Added postfixNode type to represent a node in the postfix representation of the regex
re_test.go Added test cases
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