Permalink
Browse files

Merge pull request #1 from cryptorick/empty-field-fix

Fixed a problem with processing CSV lines containing empty fields.
  • Loading branch information...
2 parents e6f8db4 + 959a624 commit 6af47d6e83d7e58384f6f62daa3e4224c1dcbc80 Kanen Flowers committed May 4, 2013
Showing with 1 addition and 3 deletions.
  1. +1 −3 csv.lsp
View
@@ -27,9 +27,7 @@
delimiter))
(define (CSV:regex-token-empty delimiter)
- (format "^%s(?:%s|$)"
- delimiter
- delimiter))
+ (format "^%s" delimiter))
; @syntax (CSV:make-row-parser <str-delimiter> <str-quote-char>)
; @param <str-delimiter> column delimiter

0 comments on commit 6af47d6

Please sign in to comment.