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