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 1a1a8f4f9c Moved flag-checking after flag.Parse() 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 Moved flag-checking after flag.Parse() 4 months ago
matching.go Wrote toString function for MatchIndex 4 months ago
misc.go Replaced isAlphaNum() with isNormalChar(), which returns true if the character isn't special (also returns true for unicode characters, which the previous function didn't 4 months ago
nfa.go Added field to denote all characters which an 'allChars' node _shouldn't_ match (useful for invertinc character classes 4 months ago
postfixNode.go Added fields to denote all the characters that an 'allChars' postfixNode _shouldn't_ represent (useful for inverting character classes) 4 months ago
re_test.go Added unicode tests 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 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