CyberZHG / toolbox

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

DFA not working #33

Open error-code1 opened 11 months ago

error-code1 commented 11 months ago

DFA for some expressions, for eg: (a+ba)*ba is straight up wrong.

ShailMurtaza commented 1 week ago

@error-code1 I don't see any issue. Are you using "+" as OR instead of positive closure? Operator for OR is "|"