Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在努力解决这个问题,并将 0*1+(00 U 01)* 作为描述这台机器的语言的正则表达式。这个对吗?还是有更好/更简单的答案?
1 到 q2 上的 q2 可以在 00 和 01 之间重复,10011101 也未包含在您的答案中,一个可能的答案是
0*1(1|00|01)*