2 ms·
See https://swtch.com/%7Ersc/regexp/regexp1.html https://swtch.com/%7Ersc/regexp/regexp1.html for a fine explanation of DFA vs NFA.
by js2 11y ago
See https://swtch.com/%7Ersc/regexp/regexp1.html https://swtch.com/%7Ersc/regexp/regexp1.html for a fine explanation of DFA vs NFA.