rem: return template.replace(/\$\{([^\s\:\}]+)(?:\:(\S+))?\}/g, function(match, key, format){ 
add: return template.replace(/\$\{([^\s\:\}]+)(?:\:([^\s\:\}]+))?\}/g, function(match, key, format){ 
context: 	return template.replace(/\$\{([^\s\:\}]+)(?:\:(\S+))?\}/g, function(match, key, format){		var value = dojo.getObject(key,false,map).toString();		if(format){ value = dojo.getObject(format,false,thisObject)(value);}		if(transform){ value = transform(value); }		return value;	}); // string
meta: 4497	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/4497/d1c8e6a4a20886ad393a4a48f5d513becd92ea35/string.js/clean/string.js