An NFA-based regex engine with a library and command-line tool.
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Go to file
Aadhavan Srinivasan e2e99ff6a9 Added fnunction to generate numbers in a range; added capacity to some slices to prevent unnecessary reallocations 4 months ago
.gitignore Added gitignore 5 months ago
Makefile Disable compile-time optimization 5 months ago
go.mod Updated go.mod 4 months ago
go.sum Print matched content in color 5 months ago
main.go Added support for numeric specifiers, moved question mark operator to its own function 4 months ago
matching.go Might have made a change to improve performance 4 months ago
misc.go Added fnunction to generate numbers in a range; added capacity to some slices to prevent unnecessary reallocations 4 months ago
nfa.go Wrote function to clone the NFA starting at a given state, and a function to find question mark operator (a? == (a|)) 4 months ago
postfixNode.go Added support for specifying how often a postfixNode is repeated 4 months ago
re_test.go Added test cases 4 months ago
sliceQueue.go Added 'mustPop' function which panics if slice is empty 4 months ago
stateContents.go Got rid of function that I don't need anymore 4 months ago
todo.txt Updated TODO 4 months ago
unique_array.go Added unique array data structure - O(1) addition and retrieval (I think) 4 months ago