go ahead... be a heretic | |
PerlMonks |
Re^3: How to make this substitutions without splitting the strings? (tr/// behavior)by farang (Chaplain) |
on Aug 01, 2014 at 05:22 UTC ( [id://1095845]=note: print w/replies, xml ) | Need Help?? |
Do you know of any documentation of this "leftmost match" feature in the tr/// built-in?From perlop: "If multiple transliterations are given for a character, only the first one is used: tr/AAA/XYZ/ will transliterate any A to X."
In Section
Seekers of Perl Wisdom
|
|