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 332c2fe5a2 Made lookarounds a little more efficient by only matching from (or to, in the case of lookbehind) the current index 1 month 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 initial support for capturing groups 1 month ago
matching.go Improved submatch tracking by storing all group indices as a part of the state, which is viewed as a 'thread' 1 month ago
misc.go Added helper function to expand a slice to a given length 1 month ago
nfa.go Made lookarounds a little more efficient by only matching from (or to, in the case of lookbehind) the current index 1 month ago
postfixNode.go Defined postfixNodes for LPAREN and RPAREN 1 month ago
range2regex.go Added function (and helper functions) to generate a regex that matches all numbers in a range 2 months ago
re_test.go Added more tests 1 month 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 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) 3 months ago