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.
I replaced the transition parameter for nfaState, replacing it with a single nfaState pointer. This is because any non-alternation state will only have one next state, so the map was just added complexity. I changed alternation processing - instead of having their own dedicated fields, they just use the new 'next' parameter, and another one called 'splitState'. I also changed the kleene state processing to remove the unecessary empty state in the right-side alternation (it actually messed up my matching). |
1 month ago | |
---|---|---|
.. | ||
compile.go | 1 month ago | |
doc.go | 1 month ago | |
example_test.go | 1 month ago | |
matching.go | 1 month ago | |
misc.go | 1 month ago | |
nfa.go | 1 month ago | |
noteOnPCREBackreferences.txt | 1 month ago | |
postfixNode.go | 1 month ago | |
priorityQueue.go | 1 month ago | |
range2regex.go | 1 month ago | |
re_test.go | 1 month ago | |
re_tests.py | 1 month ago | |
re_tests_uniq.py | 1 month ago | |
sliceQueue.go | 1 month ago | |
stateContents.go | 1 month ago | |
todo.txt | 1 month ago |