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 reply to Re^3: How to make this substitutions without splitting the strings? (tr/// behavior)
by farang
in thread How to make this substitutions without splitting the strings?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |