How do you parse a dot '.' in a regular expression?
You need to use the escape character, a slash \.
So in java or c/c++ you'd need to use a double slash. "\\." Since the slash needs to be escaped in the programming language.