scanner rettet
finite automata added to regex file