Actions
Feature #11839
closedCSV: liberal_parsing option
Description
I've submitted a pull request, https://github.com/ruby/ruby/pull/1160 , which adds a liberal_parsing option to the CSV module, off by default. This allows for parsing of some invalid input, like unescaped quotes in the middle of a field, which can be unambiguously interpreted.
I discussed it briefly with JEG2, and he asked me to bring it up here in case anyone here objects. I've attached the patch.
Thank you for your consideration.
Files
Updated by bluej100 (Braden Anderson) almost 9 years ago
- File csv_liberal_parsing.diff csv_liberal_parsing.diff added
Edit: I've simplified the patch a bit.
Updated by bluej100 (Braden Anderson) almost 9 years ago
- File csv_liberal_parsing.diff csv_liberal_parsing.diff added
Resolved a conflict.
Updated by JEG2 (James Gray) almost 9 years ago
- Status changed from Open to Closed
- Assignee set to JEG2 (James Gray)
Actions
Like0
Like0Like0Like0