code: function interpolate(str, args) {
          return str.replace(/\$(\d{1,2})/g, function (match, index) {
              return args[index] || '';
          });
      }
docs: Interpolate a regexp string.
  
  @param  {string} str
  @param  {Array}  args
  @return {string}