User blog comment:DatoXx8/my array notation/@comment-27394924-20180830010821

I don't quite understand the 2nd line. You're replacing m with __what?__, {n,m-1} times?

Plus, I think that would inevitably end up making an infinite loop. I may be wrong though, depending on what you are replacing it with.