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.
 
 
Aadhavan Srinivasan 13ca954072 Started working on '-m num' flag : print the <num>th match 3 days ago
.gitignore Added gitignore 2 months ago
Makefile Disable compile-time optimization 2 months ago
go.mod Updated go.mod 2 months ago
go.sum Print matched content in color 2 months ago
main.go Started working on '-m num' flag : print the <num>th match 3 days ago
matching.go Got rid of unnecessary special case to match at end-of-string 1 week ago
misc.go Added support for non-capturing groups 4 days ago
nfa.go Added comments - certain members of State depend on the current match, should be reset 5 days ago
postfixNode.go Defined postfixNodes for LPAREN and RPAREN 2 weeks ago
range2regex.go Added function (and helper functions) to generate a regex that matches all numbers in a range 4 weeks ago
re_test.go Added more test cases 4 days ago
sliceQueue.go Added 'mustPop' function which panics if slice is empty 2 months ago
stateContents.go Got rid of function that I don't need anymore 2 months ago
todo.txt Updated TODO 3 days 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) 1 month ago