Nonregular languages in the kicked rotor