An NFA-based regex engine with a library and command-line tool.
 
 
 
Go to file
Aadhavan Srinivasan 20142e93c4 Removed some panics with error throwing; changed some comments; removed use of mustPop() in parsing Kleene star - I use pop() and then throw an error if pop() returns an error
.gitignore Added gitignore
Makefile Disable compile-time optimization
compile.go Removed some panics with error throwing; changed some comments; removed use of mustPop() in parsing Kleene star - I use pop() and then throw an error if pop() returns an error
go.mod Updated go.mod
go.sum Print matched content in color
main.go Renamed function calls to use new names
matching.go Reformatted error messages according to Go guidelines
misc.go Removed unnecessary functions (using `staticcheck`)
nfa.go Removed a type that I wasn't using
noteOnPCREBackreferences.txt Added note on PCRE backreferences
postfixNode.go Changed error messages - removed capitalization and punctuation to find Go's error message guidelines
range2regex.go Added function (and helper functions) to generate a regex that matches all numbers in a range
re_test.go Added POSIX charclass tests
sliceQueue.go Reformatted error messages according to Go guidelines
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)