automata-from-regex icon indicating copy to clipboard operation
automata-from-regex copied to clipboard

Code doesn't work for certain regular expressions

Open sidmojo opened this issue 7 years ago • 3 comments
trafficstars

This code won't work for any expression having brackets, as well as expressions with a '' in the beginning followed by other characters. For example, ab, baba, abb etc.

sidmojo avatar Mar 12 '18 10:03 sidmojo

It seems that the star symbol is not being displayed here. I meant expressions like a(star)b, b(star)aba, a(star)bb etc.

sidmojo avatar Mar 12 '18 10:03 sidmojo

Can you give an example of a string (corresponding to a regex) that doesn't match as expected? Would you be willing to fix this? 😅

swapagarwal avatar Mar 23 '18 18:03 swapagarwal

Actually I just tested the bug as mention above, but this code still work well. bb, abb, aabb can be matched with regex (aSTARbb).

guikunchen avatar Dec 18 '19 14:12 guikunchen