function getNodeName(markup) {
	  var nodeNameMatch = markup.match(nodeNamePattern);
	  return nodeNameMatch && nodeNameMatch[1].toLowerCase();
	}
Extracts the `nodeName` of the first element in a string of markup.

@param {string} markup String of markup.
@return {?string} Node name of the supplied markup.