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 051a8551f3 Match zero-length match at end of string, even if the start node is an assertion (end of string, lookarounds, etc.) 2 months ago
.gitignore Added gitignore 3 months ago
Makefile Disable compile-time optimization 3 months ago
go.mod Updated go.mod 3 months ago
go.sum Print matched content in color 3 months ago
main.go Added support for lokarounds; parsing and adding nodes for different lookarounds 2 months ago
matching.go Match zero-length match at end of string, even if the start node is an assertion (end of string, lookarounds, etc.) 2 months ago
misc.go Removed dotChars() function, moved notDotChars() setting to main() 2 months ago
nfa.go Removed unnecessary duplication of assertion checking 2 months ago
postfixNode.go Changed generation of characters for non-whitespace, non-digit and non-word characters - it's basically an inverted character class now 2 months ago
re_test.go Added more tests 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 3 months ago
todo.txt Updated TODO 2 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) 3 months ago