mageddo / javascript-csv

Automatically exported from code.google.com/p/jquery-csv
MIT License
1 stars 1 forks source link

parameters made of regex special chars break the parser #1

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Try parsing CSV data using a regex special char for either the 
separator/delimiter.

The following regex should fix it but needs testing:
{{{strDelimiter = (strDelimiter || ",").replace(/([[^$.|?*+(){}])/g, '\\$1');}}}

Original issue reported on code.google.com by evanpla...@gmail.com on 30 Apr 2012 at 8:51

GoogleCodeExporter commented 8 years ago
Fixed and incorporated into bugfix release 0.61

Original comment by evanpla...@gmail.com on 4 Jul 2012 at 10:55

GoogleCodeExporter commented 8 years ago

Original comment by evanpla...@gmail.com on 5 Sep 2012 at 9:12