Short example of regular expression converted to a state machine?

后端 未结 6 1841
死守一世寂寞
死守一世寂寞 2020-11-29 04:30

In the Stack Overflow podcast #36 (http://blog.stackoverflow.com/2009/01/podcast-36/), this opinion was expressed: Once you understand how easy it is to set up a state machi

6条回答
  •  再見小時候
    2020-11-29 05:32

    Make your own on the fly!

    http://osteele.com/tools/reanimator/???

    A finite state machine

    This is a really nicely put together tool which visualises regular expressions as FSMs. It doesn't have support for some of the syntax you'll find in real-world regular expression engines, but certainly enough to understand exactly what's going on.

提交回复
热议问题