docs: function getTags(rawHtml, reTag) {
      var result = [];
      var match, attributes;
  
      while (match = reTag.exec(rawHtml)) {
          attributes = parseAttributes(match[2] || '');
  
          result.push({name: match[1], attributes: attributes, raw: match[0]});
      }
  
      return result;
  }