Lines Matching refs:replace
763 node.appendChild(AMparseExpr(str.replace(/^\s+/g,""),false)[0]);
766 node.setAttribute("title",str.replace(/\s+/g," "));//does not show in Gecko
805 str = str.replace(/\r\n\r\n/g,"\n\n");
807 str = str.replace(/\x20\x20\./g," "+AMdelimiter1+".");
808 str = str.replace(/\x20\x20,/g," "+AMdelimiter1+",");
809 str = str.replace(/\x20\x20/g," "+AMdelimiter1+" ");
811 str = str.replace(/\x20+/g," ");
812 str = str.replace(/\s*\r\n/g," ");
814 str = str.replace(new RegExp(AMescape2, "g"),
816 str = str.replace(new RegExp(AMescape1, "g"),
818 str = str.replace(new RegExp(AMdelimiter2regexp, "g"),AMdelimiter1);
821 arr[i]=arr[i].replace(/AMescape2/g,AMdelimiter2).
822 replace(/AMescape1/g,AMdelimiter1);