URL decoding: Difference between revisions
Content deleted Content added
→Raku: .. more concise |
m →Raku: .. yet more shorter and logical code |
||
Line 1,270: | Line 1,270: | ||
say $url.subst: :g, |
say $url.subst: :g, |
||
/ [ '%' ( <:hexdigit> ** 2 ) ]+ / , |
/ [ '%' ( <:hexdigit> ** 2 ) ]+ / , |
||
{ Blob.new((:16($_) for $0 |
{ Blob.new((:16(~$_) for $0)).decode } |
||
;</lang> |
;</lang> |
||