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 0b84806fc4 Added 'flags' to the Compile function, instead of maintaining global state to check whether certain features were enabled 2 months ago
.gitignore Added gitignore 5 months ago
Makefile Disable compile-time optimization 5 months ago
compile.go Added 'flags' to the Compile function, instead of maintaining global state to check whether certain features were enabled 2 months ago
go.mod Updated go.mod 4 months ago
go.sum Print matched content in color 5 months ago
main.go Added 'flags' to the Compile function, instead of maintaining global state to check whether certain features were enabled 2 months ago
matching.go Changed API for match-finding functions - take in a Reg instead of start state and numGroups separately 2 months ago
misc.go Added support for non-capturing groups 3 months ago
nfa.go Use new API for findAllMatches 2 months ago
postfixNode.go Defined postfixNodes for LPAREN and RPAREN 3 months ago
range2regex.go Added function (and helper functions) to generate a regex that matches all numbers in a range 3 months ago
re_test.go Rewrote to use new API for compiling and finding matches 2 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 2 months ago
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) 4 months ago