in reply to Re: A little golfing challenge: Replacing letters with numbers (edited)
in thread A little golfing challenge: Replacing letters with numbers
Corresponding link. (upd. corrected a link)perl -pe 'ARNDBCEQZGHILKMFPSTWYV=~/$_(?{print pos.$"})/ for/./g,$_=$/'
perl -pe 's/./ARNDBCEQZGHILKMFPSTWYV=~m!$&!&&"@+ "/ge'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: A little golfing challenge: Replacing letters with numbers (edited)
by Eily (Monsignor) on Feb 22, 2019 at 11:06 UTC |