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 cf964e41db Modified genRange() so that it can work on ints and runes 2 weeks ago
.gitignore Added gitignore 3 months ago
Makefile Disable compile-time optimization 3 months ago
compile.go Removed character range creation from the first part of shuntingYard() (the part that adds concatenation operators), because octal and hex values haven't yet been deciphered at this point in the code 2 weeks ago
go.mod Updated go.mod 3 months ago
go.sum Print matched content in color 3 months ago
main.go Renamed function calls to use new names 2 weeks ago
matching.go Updated function names, addeed new function 'FindString' that returns the _text_ of the match 2 weeks ago
misc.go Modified genRange() so that it can work on ints and runes 2 weeks ago
nfa.go Changed the value of EPSILON, so that we can use the NUL character 2 weeks ago
postfixNode.go Updated handling of '\b' when inside character class, made invalid 2 weeks 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 Updated tests 2 weeks 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 4 weeks 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