An NFA-based regex engine with a library and command-line tool.
 
 
 
Go to file
Aadhavan Srinivasan 61bced606e Added comments - certain members of State depend on the current match, should be reset
.gitignore Added gitignore
Makefile Disable compile-time optimization
go.mod Updated go.mod
go.sum Print matched content in color
main.go Added initial support for capturing groups
matching.go Got rid of unnecessary special case to match at end-of-string
misc.go Added helper function to expand a slice to a given length
nfa.go Added comments - certain members of State depend on the current match, should be reset
postfixNode.go Defined postfixNodes for LPAREN and RPAREN
range2regex.go Added function (and helper functions) to generate a regex that matches all numbers in a range
re_test.go Added more tests
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)