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 1bafdcdb7e Added support for inverted matches; moved escape character detection to its own function 6 months ago
.gitignore Added gitignore 6 months ago
Makefile Disable compile-time optimization 6 months ago
go.mod More Kleene star fixes 6 months ago
go.sum Print matched content in color 6 months ago
main.go Added support for inverted matches; moved escape character detection to its own function 6 months ago
matching.go Fixed matching greediness eg. a(a|b)*a would not match 'aaa' in 'aaab' 6 months ago
misc.go Added constants for LBRACKET and RBRACKET 6 months ago
nfa.go Use stateContents type to allow a state to store multiple characters 6 months ago
postfixNode.go Wrote function to create a character node regardless of the contents of the node 6 months ago
re_test.go Added more tests 6 months ago
sliceQueue.go Added 'mustPop' function which panics if slice is empty 6 months ago
stateContents.go Added more functions to stateContents type, removed append because I don't think I need it 6 months ago
todo.txt Updated TODO 6 months ago