fixed kleene stars early termination