http://www.perlmonks.org?node_id=575535


in reply to Regex - Delimiter question

Your escaped dot is telling it to not act as a delimiter, not removing the match anythingness of the dot.
$ perl -MO=Deparse -e 's.\...' s/.//; -e syntax OK