Data update
This commit is contained in:
parent
5150844a7d
commit
4bb20c9b71
7735 changed files with 38060 additions and 199180 deletions
|
|
@ -5,7 +5,7 @@ runlengthEncode: function [s][
|
|||
|
||||
runlengthDecode: function [s][
|
||||
result: new ""
|
||||
loop (chunk split s 'x -> positive? size match x {/\d+/}) [a,b] ->
|
||||
loop (chunk split s 'x -> match? x {/\d+/}) [a,b] ->
|
||||
'result ++ repeat first b to :integer join to [:string] a
|
||||
return result
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue