in reply to How Do I Use the tr Function's 'c' Option?
The issue with the unofficial documentation you found is that tr does not take special regular expression escapes like "\d" or bracketed classes like "[abc]" in its arguments.
It does support ranges, but use no brackets. Shortcut the above with the special hyphen:$string =~ tr/0123456789/ /c;
$string =~ tr/0-9/ /c;
--
[ e d @ h a l l e y . c c ]
|
|---|