Match dot using character class (avoids escaping headaches)