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 76157af2b8 Wrote function to generate rune slice representing valid dot metacharacter values 2 months ago
.gitignore Added gitignore 2 months ago
Makefile Disable compile-time optimization 2 months ago
go.mod More Kleene star fixes 2 months ago
go.sum Print matched content in color 2 months ago
main.go Added support for character classes (not ranges, yet); also take input from stdin instead of cmdline arg 2 months ago
matching.go Use contains function, since the content may have multiple characters 2 months ago
misc.go Wrote function to generate rune slice representing valid dot metacharacter values 2 months ago
nfa.go Use stateContents type to allow a state to store multiple characters 2 months ago
postfixNode.go Added postfixNode type to represent a node in the postfix representation of the regex 2 months ago
re_test.go Added test cases 2 months ago
sliceQueue.go Added 'mustPop' function which panics if slice is empty 2 months ago
stateContents.go Added more functions to stateContents type, removed append because I don't think I need it 2 months ago
todo.txt Updated TODO 2 months ago