An NFA-based regex engine with a library and command-line tool.
 
 
 
Go to file
Aadhavan Srinivasan 924e2a8dbc Added some AI-generated test cases (llama3.1:405b)
.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 lokarounds; parsing and adding nodes for different lookarounds
matching.go Match zero-length match at end of string, even if the start node is an assertion (end of string, lookarounds, etc.)
misc.go Removed dotChars() function, moved notDotChars() setting to main()
nfa.go Added lookaround-related fields to State struct, added lookaround support to checkAssertion()
postfixNode.go Added lookaround-related fields to postfixNode struct
re_test.go Added some AI-generated test cases (llama3.1:405b)
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)