You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I need to use field separator ^ or $ so I need to replace row
var endregex = new RegExp((FS=="|" ? "\|" : FS)+"+$");
with
var endregex = new RegExp((['|', '^', '$'].indexOf(FS) >= 0 ? '\' + FS : FS)+"+$");
in write_csv_stream and sheet_to_csv in file xlsx.js
Otherwise I get error Invalid regular expression: /^+$/: Nothing to repeat
The text was updated successfully, but these errors were encountered:
Hi,
I need to use field separator ^ or $ so I need to replace row
var endregex = new RegExp((FS=="|" ? "\|" : FS)+"+$");
with
var endregex = new RegExp((['|', '^', '$'].indexOf(FS) >= 0 ? '\' + FS : FS)+"+$");
in write_csv_stream and sheet_to_csv in file xlsx.js
Otherwise I get error Invalid regular expression: /^+$/: Nothing to repeat
The text was updated successfully, but these errors were encountered: