Lines Matching refs:replace

55             input = input.replace(/[^A-Za-z0-9\+\/\=]/g, "");
201 var o = v.toFixed(11).replace(gnr1,".$1");
206 …f((o.charCodeAt(i) | 0x20) === 101) return o.replace(gnr4,".$1").replace(gnr5,"E").replace("e","E"…
212 return o.indexOf(".") > -1 ? o.replace(gnr2,"").replace(gnr1,".$1") : o;
344 var sfmt = fmt.replace(pct1,""), mul = fmt.length - sfmt.length;
366 o = o.replace(/^0+([1-9])/,"$1").replace(/^0+\./,"0.");
368 o = o.replace(/\+-/,"-");
370 …o = o.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,function($$,$1,$2,$3) { return $1 + $2 + $3.substr(0,(per…
373 if(fmt.match(/E\-/) && o.match(/e\+/)) o = o.replace(/e\+/,"e");
374 return o.replace("e","E");
403 var ffmt = fmt.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");
421 …o = rnd(val, r[1].length).replace(/^([^\.]+)$/,"$1."+r[1]).replace(/\.$/,"."+r[1]).replace(/\.(\d*…
422 return fmt.indexOf("0.") !== -1 ? o : o.replace(/^0\./,".");
424 fmt = fmt.replace(/^#+([0.])/, "$1");
426 …return sign + rnd(aval, r[2].length).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").r…
432 … if((r = fmt.match(/^#,#*,#0/)) !== null) return write_num_flt(type,fmt.replace(/^#,#*,/,""),val);
434 o = _strrev(write_num_flt(type, fmt.replace(/[\\-]/g,""), val));
436 …return _strrev(_strrev(fmt.replace(/\\/g,"")).replace(/[0#]/g,function(x){return ri<o.length?o[ri+…
466 o = "" + val.toFixed(Math.min(r[2].length,10)).replace(/([^0])0+$/,"$1");
473 … "-" + write_num_flt(type, fmt, -val) : commaify(flr(val)).replace(/^\d,\d{3}$/,"0$&").replace(/^\…
487 var sfmt = fmt.replace(pct1,""), mul = fmt.length - sfmt.length;
502 o = o.replace(/\+-/,"-");
504 …o = o.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,function($$,$1,$2,$3) { return $1 + $2 + $3.substr(0,(per…
507 if(fmt.match(/E\-/) && o.match(/e\+/)) o = o.replace(/e\+/,"e");
508 return o.replace("e","E");
512 var ffmt = fmt.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");
530 …o = (""+val).replace(/^([^\.]+)$/,"$1."+r[1]).replace(/\.$/,"."+r[1]).replace(/\.(\d*)$/,function(…
531 return fmt.indexOf("0.") !== -1 ? o : o.replace(/^0\./,".");
533 fmt = fmt.replace(/^#+([0.])/, "$1");
535 …return sign + (""+aval).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./…
541 … if((r = fmt.match(/^#,#*,#0/)) !== null) return write_num_int(type,fmt.replace(/^#,#*,/,""),val);
543 o = _strrev(write_num_int(type, fmt.replace(/[\\-]/g,""), val));
545 …return _strrev(_strrev(fmt.replace(/\\/g,"")).replace(/[0#]/g,function(x){return ri<o.length?o[ri+…
575 o = "" + val.toFixed(Math.min(r[2].length,10)).replace(/([^0])0+$/,"$1");
581 … ? "-" + write_num_int(type, fmt, -val) : commaify(""+val).replace(/^\d,\d{3}$/,"0$&").replace(/^\…
1070 …lPaths.length; ++i) UCFullPaths[i] = FullPaths[i].toUpperCase().replace(chr0,'').replace(chr1,'!');
1071 …for(i = 0; i < Paths.length; ++i) UCPaths[i] = Paths[i].toUpperCase().replace(chr0,'').replace(chr…
1076 var UCPath = path.toUpperCase().replace(chr0,'').replace(chr1,'!');
1318 f = f.replace(/\//g,'\\'); if(zip.files[f]) return zip.files[f];
1363 function strip_ns(x) { return x.replace(nsregex2, "<$1"); }
1380 …return s.replace(encregex, function($$) { return encodings[$$]; }).replace(coderegex,function(m,c)…
1387 …return s.replace(decregex, function(y) { return rencoding[y]; }).replace(charegex,function(s) { re…
1394 return function xlml_fixstr(str) { return str.replace(entregex,entrepl); };
1470 var v = x.replace(vtvregex,"").match(vtmregex);
1482 function write_w3cdtf(d, t) { try { return d.toISOString().replace(/\.\d*/,""); } catch(e) { if(t) …
2411 switch(y[0].replace(nsregex,"<")) {
2479 if(o.length>2){ o[o.length] = ('</Types>'); o[1]=o[1].replace("/>",">"); }
2540 if(o.length>2){ o[o.length] = ('</Relationships>'); o[1]=o[1].replace("/>",">"); }
2612 if(o.length>2){ o[o.length] = ('</cp:coreProperties>'); o[1]=o[1].replace("/>",">"); }
2688 if(o.length>2){ o[o.length] = ('</Properties>'); o[1]=o[1].replace("/>",">"); }
2758 if(o.length>2){ o[o.length] = '</Properties>'; o[1]=o[1].replace("/>",">"); }
2774 …ime/1e7*Math.pow(2,32) + dwLowDateTime/1e7) - 11644473600)*1000).toISOString().replace(/\.000/,"");
2843 … = blob.read_shift(len, (CodePage === 0x4B0 ?'utf16le':'utf8')).replace(chr0,'').replace(chr1,'!');
2889 case 0x1E /*VT_LPSTR*/: return parse_lpstr(blob, t, 4).replace(chr0,'');
2894 case 0x50 /*VT_STRING*/: return parse_VtString(blob, t, !opts.raw && 4).replace(chr0,'');
2895 case 0x51 /*VT_USTR*/: return parse_VtUnalignedString(blob, t, 4).replace(chr0,'');
3144 var url = blob.read_shift((extra?len-24:len)>>1, 'utf16le').replace(chr0,"");
3157 if(cbUnicodePathSize === 0) return ansiPath.replace(/\\/g,"/");
7561 if(o.length>sidx+1) { o[o.length] = ('</sheetData>'); o[sidx]=o[sidx].replace("/>",">"); }
7565 if(o.length>2) { o[o.length] = ('</worksheet>'); o[1]=o[1].replace("/>",">"); }
8243 if(o.length>2){ o[o.length] = '</workbook>'; o[1]=o[1].replace("/>",">"); }
11173 if(dir.sst) strs=parse_sst(getzipdata(zip, dir.sst.replace(/^\//,'')), dir.sst, opts);
11176 … if(dir.style) styles = parse_sty(getzipdata(zip, dir.style.replace(/^\//,'')),dir.style, opts);
11179 …&& dir.themes.length) themes = parse_theme(getzipdata(zip, dir.themes[0].replace(/^\//,''), true),…
11182 var wb = parse_wb(getzipdata(zip, dir.workbooks[0].replace(/^\//,'')), dir.workbooks[0], opts);
11187 propdata = getzipdata(zip, dir.coreprops[0].replace(/^\//,''), true);
11190 propdata = getzipdata(zip, dir.extprops[0].replace(/^\//,''), true);
11198 propdata = getzipdata(zip, dir.custprops[0].replace(/^\//,''), true);
11214 …if(opts.bookDeps && dir.calcchain) deps=parse_cc(getzipdata(zip, dir.calcchain.replace(/^\//,'')),…
11235 if(wbrels) path = 'xl/' + (wbrels[i][1]).replace(/[\/]?xl\//, "");
11238 path = path.replace(/sheet0\./,"sheet.");
11240 relsPath = path.replace(/^(.*)(\/)([^\/]*)$/, "$1/_rels/$3.rels");
11277 rels[('/' + relobj.Target).replace("//","/")] = relobj;
11441 function fix_row(cstr) { return cstr.replace(/([A-Z]|^)(\d+)$/,"$1$$$2"); }
11442 function unfix_row(cstr) { return cstr.replace(/\$(\d+)$/,"$1"); }
11446 function fix_col(cstr) { return cstr.replace(/^([A-Z])/,"$$$1"); }
11447 function unfix_col(cstr) { return cstr.replace(/^\$([A-Z])/,"$1"); }
11449 function split_cell(cstr) { return cstr.replace(/(\$?[A-Z]*)(\$?\d*)/,"$1,$2").split(","); }
11588 txt = "\"" + txt.replace(qreg, '""') + "\""; break; }