Message regex should accept strings containing multiple dots