Row mismatch in CSV

Jesse Phillips jessekphillips+D at gmail.com
Tue Jan 10 07:36:29 PST 2012


On Tuesday, 10 January 2012 at 15:05:22 UTC, Andrej Mitrovic 
wrote:
> Maybe we could optionally pass a func/delegate to std.csv which 
> gets
> invoked on these mismatches and figures out what to do? If no 
> delegate
> was passed then std.csv would just throw by default?

That isn't going to happen. If for no other reason than it is 
limited in scope. I think the best course for someone parsing 
invalid CSV is to either turn off exceptions, or write their own 
parser with csvNextToken.


More information about the Digitalmars-d mailing list