Fixed the bug where a certain weird character ( commonly found in youtube comments ) could crash patterspider.