Fix parse dose not work #1
This commit is contained in:
parent
5a1e66c379
commit
83623f140b
|
@ -254,6 +254,10 @@ public class CSV: SequenceType, GeneratorType {
|
|||
if c == delimiter && prev == DQUOTE && (quotationCount % 2 == 0) {
|
||||
escaping = false
|
||||
}
|
||||
|
||||
if (c == CR || c == LF) && prev == DQUOTE && (quotationCount % 2 == 0) {
|
||||
escaping = false
|
||||
}
|
||||
|
||||
// 行の終わり
|
||||
if prev == CR && c != LF && !escaping {
|
||||
|
|
Loading…
Reference in New Issue