public function replace($strTemplate) {
		preg_match_all($this->regex, $strTemplate, $matches);
		$arrReplace = array();
		foreach ($matches[1] as $match) {
			$arrReplace[] = $this->get($match);
		}

		return str_replace($matches[0], $arrReplace, $strTemplate);
	}