Rosetta Code/Fix code tags: Difference between revisions
Content added Content deleted
mNo edit summary |
Thundergnat (talk | contribs) m (→{{header|Raku}}: perl6 -> raku) |
||
Line 1,261: | Line 1,261: | ||
=={{header|Raku}}== |
=={{header|Raku}}== |
||
(formerly Perl 6) |
(formerly Perl 6) |
||
<lang |
<syntaxhighlight lang="raku" line>my @langs = < |
||
abap actionscript actionscript3 ada apache applescript apt_sources |
abap actionscript actionscript3 ada apache applescript apt_sources |
||
asm asp autoit avisynth bash basic4gl bf blitzbasic bnf boo c caddcl |
asm asp autoit avisynth bash basic4gl bf blitzbasic bnf boo c caddcl |
||
Line 1,286: | Line 1,286: | ||
s:g [ '<code '(.+?) '>' (.*?) '</code>' ] = "<lang $0>{$1}</"~"lang>"; |
s:g [ '<code '(.+?) '>' (.*?) '</code>' ] = "<lang $0>{$1}</"~"lang>"; |
||
.say;</ |
.say;</syntaxhighlight> |
||
<lang |
<syntaxhighlight lang="raku" line>use v6; |
||
constant @langs = < abap actionscript actionscript3 ada … >; |
constant @langs = < abap actionscript actionscript3 ada … >; |
||
Line 1,299: | Line 1,299: | ||
'lang' ~ " " x *<need-add-space>.so, |
'lang' ~ " " x *<need-add-space>.so, |
||
:g, |
:g, |
||
).print</ |
).print</syntaxhighlight> |
||
=={{header|REXX}}== |
=={{header|REXX}}== |