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 1aff6e2fa4 Added a field to State, that tells me what kind of assertion (if any) it is making. Also added function to check if a state's contents contain a given value (checks assertions), and to find all matches that a state has for a character 2 months ago
.gitignore Added gitignore 3 months ago
Makefile Disable compile-time optimization 3 months ago
go.mod More Kleene star fixes 3 months ago
go.sum Print matched content in color 3 months ago
main.go Added support for detecting assertion characters; changed input so that newline isn't required 2 months ago
matching.go Big rewrite - assertion handling, zero-match fixes, change in recursive calls 2 months ago
misc.go Added function to check for word boundaries and delete an element from a slice 2 months ago
nfa.go Added a field to State, that tells me what kind of assertion (if any) it is making. Also added function to check if a state's contents contain a given value (checks assertions), and to find all matches that a state has for a character 2 months ago
postfixNode.go Wrote function to provide correct node for escaped character 2 months ago
re_test.go Added more test cases 2 months ago
sliceQueue.go Added 'mustPop' function which panics if slice is empty 3 months ago
stateContents.go Got rid of function that I don't need anymore 2 months ago
todo.txt Updated TODO 2 months ago