Commit 88969d7
committed
Do not report a doubled quote across field boundaries
The pattern required a doubled quote character in the middle, so it
could match from a delimiter inside one quoted field to a quote in
another one, and reported a double quoted format for '",","",","'.
Match whole quoted fields instead and test their bodies for a doubled
quote separately. Only look behind the delimiter, because the trailing
one is consumed, so that consecutive fields are all matched.1 parent 92b3133 commit 88969d7
1 file changed
Lines changed: 8 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
328 | 328 | | |
329 | 329 | | |
330 | 330 | | |
331 | | - | |
332 | | - | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
333 | 334 | | |
334 | | - | |
335 | | - | |
336 | | - | |
337 | | - | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
338 | 338 | | |
339 | 339 | | |
340 | | - | |
341 | | - | |
342 | | - | |
343 | | - | |
344 | | - | |
| 340 | + | |
| 341 | + | |
345 | 342 | | |
346 | 343 | | |
347 | 344 | | |
| |||
0 commit comments