CyberZHG / toolbox

https://cyberzhg.github.io/toolbox/ Encoding and parsing tools.
GNU General Public License v3.0
949 stars 81 forks source link

DFA has epsilon transition #9

Closed rali20 closed 5 years ago

rali20 commented 5 years ago

DFA should not contain any epsilon transition, but the website tool is generating it. So your DFA generation is wrong.

CyberZHG commented 5 years ago

Could you provide an example?

rali20 commented 5 years ago

Ok, I got the misconception. I didn't think that whitespaces are also treated as characters. I think it would be better not to consider whitespaces as characters unless user specifies it using backslash.