Bug in regular expression used for processing CSV and tab-separated data
It appears that the regular expression used in lib/text/table.js doesn't distinguish between tab-separated and CSV data files correctly.
My problem was that one of the tab-separated fields had commas in it. I was not putting quotes around the data.
I suspect (but haven't tested this) that a CVS file may have problems with embedded tabs too.
I could work out how to put quotes around the fields (I'm extracting from a database and its not easy) but a better solution would be to allow an extra arg to the property setting to indicate whether the input file is CSV or tab-separated and then have the regular expression process the data rows accordingly.