rem: MochiKit.Format.rstrip = function (str, /* optional */chars) { str = str + ""; if (typeof(str) != "string") { return null; } if (!chars) { return str.replace(/\s+$/, ""); } else { return str.replace(new RegExp("[" + chars + "]+$"), ""); } 
add: MochiKit.Format.rstrip=function(str,_265){ str=str+""; if(typeof (str)!="string"){ return null; } if(!_265){ return str.replace(/\s+$/,""); }else{ return str.replace(new RegExp("["+_265+"]+$"),""); } 
context: MochiKit.Format.rstrip = function (str, /* optional */chars) {    str = str + "";    if (typeof(str) != "string") {        return null;    }    if (!chars) {        return str.replace(/\s+$/, "");    } else {        return str.replace(new RegExp("[" + chars + "]+$"), "");    }};
meta: 8607	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8607/ad067b3f5d648d6df90ec6fb2b79f0027612a307/MochiKit.js/buggy/trunk/lib/MochiKit.js