Well... I don't quite understand the point you're making, but...
If it was a string literal why do you need to escape the dot? ... strings as separators.In my understanding, a string (or anything that's not a Regexp object) supplied as a /PATTERN/ to split will be compiled to a regex, so a single- or double-quoted dot has meta-nature and must be meta-escaped to match only a period.
Give a man a fish: <%-{-{-{-<
In reply to Re^4: Matching dot using regexp
by AnomalousMonk
in thread Matching dot using regexp
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |