Unscreened dots

Corrected escaping of '.' and added tests.
Reported by Xelgen on IRC.