sdht0 / automata-from-regex

A python program to build nfa, dfa and minimised DFA from given regular expression. Uses Tkinter for GUI and GraphViz for graphs.
118 stars 34 forks source link

how to do exclusive or(XOR)? #5

Open chakpongchung opened 7 years ago

chakpongchung commented 7 years ago

http://stackoverflow.com/questions/247167/exclusive-or-in-regular-expression

for example, how to do this one:

/^(foo|bar){1}$/