Escape ~ correctly
Merge pull request #9 from arangamani/patch-1

Escape ~ correctly