An NFA-based regex engine with a library and command-line tool.
 
 
 
Go to file
Aadhavan Srinivasan 93903fc557 Allowed creation of empty non-capturing groups
.gitignore Added gitignore
Makefile Disable compile-time optimization
compile.go Allowed creation of empty non-capturing groups
go.mod Updated go.mod
go.sum Print matched content in color
main.go Renamed function calls to use new names
matching.go Updated function names, addeed new function 'FindString' that returns the _text_ of the match
misc.go Refactored isNormalChar(), wrote function to get special characters that have metachar replacements
nfa.go Changed the value of EPSILON, so that we can use the NUL character
postfixNode.go Allow hyphen to be escaped inside character class
range2regex.go Added function (and helper functions) to generate a regex that matches all numbers in a range
re_test.go Added more 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)