in reply to Pattern Matching, left-to-right
%trans = qw/ F | S ^ T & R ~ E \\ /; $string =~ s/\\([FSTRE])\\/$trans{$1}/g; [download]
-- Randal L. Schwartz, Perl hacker Be sure to read my standard disclaimer if this is a reply.