The "." doesn't need to be escaped; a "." in a regular expression matches any single character. So . and \. will have the same effect in this case.