Rep-string: Difference between revisions

Content deleted Content added
Walterpachl (talk | contribs)
REXX updated
→‎{{header|Perl 6}}: update to latest task
Line 129: Line 129:


=={{header|Perl 6}}==
=={{header|Perl 6}}==
<lang perl6>for <1001110011 1110111011 0010010010 1010101010 1111111111 0100101101 0100100 101 11 10 1> {
{{update|Perl 6}}
<lang perl6>for <1001110011 1110111011 0010010010 1010101010 1111111111 0100101101 0100100 101 1> {
.say;
.say;
if /^ (.+) $0+ (.*$) <?{ $0.substr(0,$1.chars) eq $1 }> / {
if /^ (.+) $0+ (.*$) <?{ $0.substr(0,$1.chars) eq $1 }> / {
Line 162: Line 161:


101
101
(no repeat)

11
1

10
(no repeat)
(no repeat)