by Mathnerd314 · 7y ago · 0 comments
The handling of repetition is more revealing, it doesn't appear to have "states" at all but rather is just the usual backtracking: https://github.com/microsoft/STL/blob/master/stl/inc/regex#L...
So the "NFA" is really an AST for the regex rather than an automaton based on Thompson's algorithm or similar.
No comments yet.