and through the use of copy/paste and some small changes it is easy to give your favourite automaton to GAP.
********************************************
*********** Rational Expressions ***********
To give a rational expression to GAP use the function RationalExpression
gap> RationalExpression("aUba*","ab");
aUba*
Messung V0.5
[ Dauer der Verarbeitung: 0.14 Sekunden
(vorverarbeitet)
]