fixed the special characters matching #83

Creating a pull request for this and merging it into master.