allow \~ to escape as ~
Merge pull request #39 from athom/tilde-escape

allow \~ to escape as ~