in reply to Unable To Replace Escape Sequences With 1-Char Equivalents

What you mean to be doing with your unescape routine is actualy:
sub unescape { my($s)=@_; $s =~ s/(\\[^\d])/"\"$1\""/gee; #"\t", "\n", etc. $s =~ s/(\\0\d+)/"\"$1\""/gee; #"\07", etc. return $s; }

That is: implicitly evoking an eval with a second /e modifier. Also, you could really do both regexes in one regex (and, fyi: [^\d] is also called, more simply, \D):

sub unescape { my($s)=@_; $s =~ s/\\(0\d+|\D)/"\"\\$1\""/gee; return $s; }
------------ :Wq Not an editor command: Wq