如何将常规语法转换为正则表达式?

dal*_*cai 6 regex compiler-construction bnf

是否有将常规语法转换为正则表达式的算法或工具?

Ste*_*han 1

由网友 dalibocai提供的答案:

我的目标是将常规语法转换为 DFA。最后,我找到了一个很棒的工具:JFLAP

此处提供了教程:https ://www2.cs.duke.edu/csed/jflap/tutorial/framebody.html