You also need two slashes before the `.`, so `\\.` instead of `\.`, I think that is why that spec you have commented out is failing.