可以转换的东西
r"a+|(?:ab+c)"
至
{ (1, 'a') : [2, 3], (2, 'a') : [2], (3, 'b') : [4, 3], (4, 'c') : [5] }
或类似的东西
并在2或5中接受
python regex compiler-construction fsm
compiler-construction ×1
fsm ×1
python ×1
regex ×1