I am working on the transliteration method operator (trans()) for Rakudo and wanted to get some input on how character ranges are to be used.

Should spaces be ignored in ranges like 'A .. Z'? Currently the implementation I have ignores those spaces but counts any other spaces as important, so (using parrot perl6.pbc with my patch):

> say "Whfg nabgure Crey unpxre".trans(' a .. z' => '_n .. za .. m', 'A .. Z' => 'N .. ZA .. M')
Just_another_Perl_hacker

chris

Reply via email to