Fix #26

only the last occurrence of ) has to be escaped and not the first occurrence
Merge pull request #7 from DanielRuf/master

Fix #26