An NFA-based regex engine with a library and command-line tool.
 
 
 
Go to file
Aadhavan Srinivasan 9d3c228ace Fixed edge cases with character ranges and character classes
.gitignore Added gitignore
Makefile Disable compile-time optimization
compile.go Fixed edge cases with character ranges and character classes
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 Modified genRange() so that it can work on ints and runes
nfa.go Changed the value of EPSILON, so that we can use the NUL character
postfixNode.go Updated handling of '\b' when inside character class, made invalid
range2regex.go Added function (and helper functions) to generate a regex that matches all numbers in a range
re_test.go Added 'flags' field to test struct for all-group 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)