code: function replaceNumbering(str, value, count) {
      // replace numbering in strings only: skip explicit wrappers that could
      // contain unescaped numbering tokens
      if (typeof str === 'string') {
          const ranges = getNumberingRanges(str);
          return replaceNumberingRanges(str, ranges, value, count);
      }
  
      return str;
  }
docs: Replaces numbering in given string
  @param  {String} str
  @param  {Number} value
  @return {String}