view exercise/005.ind @ 247:61d9fdb22f2d

...
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 28 Jun 2021 23:01:27 +0900
parents b3f05cd08d24
children
line wrap: on
line source

-title: 正規表現の決定性オートマトンへの変換

以下の正規表現をDFAに変換せよ。

(1)     (a*|b*)c

(2)     (a|b)*c

(3)      (a*|b*)c(a|b)*c

(4)      ((a*|b*)c)|((a|b)*c)