code: function build( tmplItem, nested, content ) {
  		// Convert hierarchical content into flat string array 
  		// and finally return array of fragments ready for DOM insertion
  		var frag, ret = content ? jQuery.map( content, function( item ) {
  			return (typeof item === "string") ? 
  				// Insert template item annotations, to be converted to jQuery.data( "tmplItem" ) when elems are inserted into DOM.
  				(tmplItem.key ? item.replace( /(<\w+)(?=[\s>])(?![^>]*_tmplitem)([^>]*)/g, "$1 " + tmplItmAtt + "=\"" + tmplItem.key + "\" $2" ) : item) :
  				// This is a child template item. Build nested template.
  				build( item, tmplItem, item._ctnt );
  		}) : 
  		// If content is not defined, insert tmplItem directly. Not a template item. May be a string, or a string array, e.g. from {{html $item.html()}}. 
  		tmplItem;
  		if ( nested ) {
  			return ret;
  		}
  
  		// top-level template
  		ret = ret.join("");
  
  		// Support templates which have initial or final text nodes, or consist only of text
  		// Also support HTML entities within the HTML markup.
  		ret.replace( /^\s*([^<\s][^<]*)?(<[\w\W]+>)([^>]*[^>\s])?\s*$/, function( all, before, middle, after) {
  			frag = jQuery( middle ).get();
  
  			storeTmplItems( frag );
  			if ( before ) {
  				frag = unencode( before ).concat(frag);
  			}
  			if ( after ) {
  				frag = frag.concat(unencode( after ));
  			}
  		});
  		return frag ? frag : unencode( ret );
  	}
docs: ========================== Private helper functions, used by code above ==========================