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 656c506aa8 Wrote function to provide correct node for escaped character 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 inverted matches; moved escape character detection to its own function 2 months ago
matching.go Fixed matching greediness eg. a(a|b)*a would not match 'aaa' in 'aaab' 2 months ago
misc.go Added constants for LBRACKET and RBRACKET 2 months ago
nfa.go Use stateContents type to allow a state to store multiple characters 2 months ago
postfixNode.go Wrote function to provide correct node for escaped character 2 months ago
re_test.go Added more tests 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