Fix/infinite loop

Characters like `"random[0].hello-mom"` were causing an infinite loop.