code: func lexCloseMustache(l *Lexer) lexFunc {
  	var str string
  	var tok TokenKind
  
  	if str = l.findRegexp(rCloseRaw); str != "" {
  		// }}}}
  		tok = TokenCloseRawBlock
  	} else if str = l.findRegexp(rCloseUnescaped); str != "" {
  		// }}}
  		tok = TokenCloseUnescaped
  	} else if str = l.findRegexp(rClose); str != "" {
  		// }}
  		tok = TokenClose
  	} else {
  		// this is rotten
  		panic("Current pos MUST be a closing mustache")
  	}
  
  	l.pos += len(str)
  	l.emit(tok)
  
  	return lexContent
  }
docs: // lexCloseMustache scans }} or ~}}