Better starring when escaped characters are involved.

Closes #569.