rem: var temp = this; var obj = /^(\s*)([\W\w]*)(\b\s*$)/; if (obj.test(temp)) { temp = temp.replace(obj, '$2'); } obj = /  /g; while (temp.match(obj)) { temp = temp.replace(obj, " "); } return temp; 
add: var temp = this; var obj = /^(\s*)([\W\w]*)(\b\s*$)/; if (obj.test(temp)) temp = temp.replace(obj, '$2'); obj = /  /g; while (temp.match(obj)) temp = temp.replace(obj, " "); return temp; 
context: String.prototype.trim = function() {  var temp = this;  var obj = /^(\s*)([\W\w]*)(\b\s*$)/;  if (obj.test(temp)) { temp = temp.replace(obj, '$2'); }  obj = /  /g;  while (temp.match(obj)) { temp = temp.replace(obj, " "); }  return temp;}
meta: 3881	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/3881/08c58793b9e994b69bafa1e3b3650fe996c4de14/hudson-behavior.js/clean/war/resources/scripts/hudson-behavior.js