rem: elem = elem.replace(/(<(\w+)[^>]*?)\/>/g, function(all, front, tag){ return tag.match(/^(abbr|br|col|img|input|link|meta|param|hr|area)$/i) ? all : front + "></" + tag + ">"; }); 
add: name = name.replace(/-([a-z])/ig, function(all, letter){ return letter.toUpperCase(); }); 
context: 				elem = elem.replace(/(<(\w+)[^>]*?)\/>/g, function(all, front, tag){					return tag.match(/^(abbr|br|col|img|input|link|meta|param|hr|area)$/i) ?						all :						front + "></" + tag + ">";				});
meta: 2798	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/2798/da33a981c6fb18a195377d55a6d243e2de887f45/core.js/clean/src/core.js