目前已经写了正规式转换为nfa的算法 但是不知道要怎么转换回去
http://stackoverflow.com/questions/9205778/how-to-convert-nfa-to-regular-expression