An NFA-based regex engine with a library and command-line tool.
 
 
 
Go to file
Aadhavan Srinivasan ecab7cc522 Make kleene() throw an error if the state is not quantifiable
.gitignore Added gitignore
Makefile Disable compile-time optimization
compile.go Throw error if non-greedy operator is attempted
go.mod Updated go.mod
go.sum Print matched content in color
main.go Changed '-t' flag to include the new RE_SINGLE_LINE flag as well
matching.go Reformatted error messages according to Go guidelines
misc.go Removed unused function
nfa.go Make kleene() throw an error if the state is not quantifiable
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 Replaced literal brackets with LBRACKET and RBRACKET metacharacters
re_test.go Finished adding tests from Python's test suite; removed a non-greedy operator from one of the old tests
re_tests.py Add Python's regex test suite
re_tests_uniq.py Remove duplicate lines from `re_tests.py`
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)