static function MergeRegEx($template, $values, $ldelim = "{{", $rdelim = "}}")
	{
		self::$_MERGE_TEMPLATE_VALUES = $values;
		
		if ($ldelim != "{{" || $rdelim != "}}") throw new Exception("Custom delimiters are not yet implemented. Sorry!");
		
		$results = preg_replace_callback('!\{\{(\w+)\}\}!', 'SimpleTemplate::_MergeRegExCallback', $template);
		
		self::$_MERGE_TEMPLATE_VALUES = null;
		
		return $results;
		
	}