Anonymous user
URL decoding: Difference between revisions
→Raku: .. include both cases; remove original solution that handles multi-byte-chars incorrectly
m (→Raku: .. yet more shorter and logical code) |
(→Raku: .. include both cases; remove original solution that handles multi-byte-chars incorrectly) |
||
Line 1,254:
=={{header|Raku}}==
(formerly Perl 6)
<lang perl6>my
say
▲<lang perl6>my $url = "google.com/search?q=%60Abdu%27l-Bah%C3%A1";
/ [ '%' ( <:hexdigit> ** 2 ) ]+ / ,
{ Blob.new((:16(~$_) for $0)).decode }
) for @urls;</lang>
=={{header|Red}}==
|