An NFA-based regex engine with a library and command-line tool.
 
 
 
Go to file
Aadhavan Srinivasan 3fb9bc1446 Added support for POSIX character classes
.gitignore Added gitignore
Makefile Disable compile-time optimization
compile.go Added support for POSIX character classes
go.mod Updated go.mod
go.sum Print matched content in color
main.go Renamed function calls to use new names
matching.go Updated function names, addeed new function 'FindString' that returns the _text_ of the match
misc.go Added a function to generate a slice of all values (inclusive) in a range
nfa.go Created a function to return a state that will always have a zero-length state
noteOnPCREBackreferences.txt Added note on PCRE backreferences
postfixNode.go Allow hyphen to be escaped inside character class
range2regex.go Added function (and helper functions) to generate a regex that matches all numbers in a range
re_test.go Added POSIX charclass tests
sliceQueue.go Added 'mustPop' function which panics if slice is empty
stateContents.go Got rid of function that I don't need anymore
todo.txt Updated TODO
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)