I have found this image, which represents r* expression NFA.
My question is: there shouldn’t be an arrow linking the second node to the third node? This way if I have a “rr” string, when the first symbol is read I get into the second node, but from there can’t go anywhere because there aren’t outgoing arrows.
http://imageshack.us/f/641/screenshot20111021at114.png/
I have found this image, which represents r* expression NFA. My question is: there
Share
The linked image implies a couple of assumptions.
R*. We don’t see any arrows between the starting and ending states because we don’t define what R means; it’s variable, we could use anything.