in reply to Re: Irregular Expression??
in thread Irregular Expression??

You missed the \-part...
$n= $a=~ s/\46/\\\46\\\46/g; # ^^ ^^ : :