An NFA-based regex engine with a library and command-line tool.
 
 
 
Go to file
Aadhavan Srinivasan 9115858261 Changed assignment of the unicode values by 1, so that EPSILON can now be 0xF0000
.gitignore Added gitignore
Makefile Disable compile-time optimization
compile.go New features, changed character class behavior
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 Changed assignment of the unicode values by 1, so that EPSILON can now be 0xF0000
nfa.go Created function that returns a 'default' state
postfixNode.go Added a new class 'CHARCLASS', which represents a character class with some other postfixNodes in it. The 'except' field now contains a list of postfixNodes rather than runes
range2regex.go Added function (and helper functions) to generate a regex that matches all numbers in a range
re_test.go Added tests for FindString
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)