by dpkendal · 11y ago · 0 comments
See https://swtch.com/~rsc/regexp/ for information on finite-state-machine implementations of regexp matching.
What? Why is that? If the NFA has n states, then the DFA in principle might need one state for every possible set of states the NFA might be in, of which there are 2^n. Where does n^2 come from?