Fixed #158

Escaped special regex characters from previewed file.