@Neil @MartinEnder Could either of you help me with Retina? I'm trying to do
An ogl-edocf challenge. I know I can get all prefixes of an input using
$'
. I also know I could get the length per prefix with
{$.>'}
. And I know I can rotate them either once left with
^(.)(.{$.>'})(?=[A-Z]) \n $2$1
and once right with
^(.{$.>'})(.)(?=[a-z]) \n $2$1
. But how to combine all this? How to loop over the prefixes and rotate them?