Escape `^`/`~` right after `@`.

Fixes #1.