Algorithm for converting a finite state machine into a regular expression · HackerTrans