lib/utils.js
function getPadding(source, html) {
  const re = new RegExp(`^([\\t ]+)${escape(source)}`, 'gm');
  const match = re.exec(html);

  return match ? match[1] : '';
}
function getPadding(source, html) {
  const re = new RegExp(`^([\\t ]+)${escape(source)}`, 'gm');
  const match = re.exec(html);

  return match ? match[1] : '';
}
function getPadding ( source , html ) { const re = new RegExp ( ` \\ ${ escape ( source ) } ` , 'gm' ) ; const match = re . exec ( html ) ; return match ? match [ 1 ] : '' ; }
Retrieve leading whitespace for 'source' in 'html'
@param {String} source
@param {String} html
@returns {String}
Retrieve leading whitespace for source in html