I'm not sure Evgeniy,
With a zero in the string ..
< .. > The compression algorithm created a string where each numeral digit means the uncompressed string preceding it is repeated that many times.
could be read that the result string is repeated zero times in this instance ie not repeated.
I really hate the word assume ..
give me 2 choices and I have a 90% chance of being incorrect