An NFA-based regex engine with a library and command-line tool.
 
 
 
Go to file
Aadhavan Srinivasan 9a073aa514 Added node types for left and right parentheses
.gitignore Added gitignore
Makefile Disable compile-time optimization
go.mod Updated go.mod
go.sum Print matched content in color
main.go Added support for numeric specifiers, moved question mark operator to its own function
matching.go Might have made a change to improve performance
misc.go Added fnunction to generate numbers in a range; added capacity to some slices to prevent unnecessary reallocations
nfa.go Wrote function to clone the NFA starting at a given state, and a function to find question mark operator (a? == (a|))
postfixNode.go Added node types for left and right parentheses
re_test.go Added test cases
sliceQueue.go Added 'mustPop' function which panics if slice is empty
stateContents.go Got rid of function that I don't need anymore
todo.txt Updated TODO
unique_array.go Got rid of list for uniq_arr (O(n) deletion) and instead have separate method to create list (O(n) list creation)