summaryrefslogtreecommitdiff
path: root/lualibs-util-prs.lua
diff options
context:
space:
mode:
authorPhilipp Gesang <phg42.2a@gmail.com>2013-07-23 14:50:58 -0700
committerPhilipp Gesang <phg42.2a@gmail.com>2013-07-23 14:50:58 -0700
commitd287bf5f8bc24ad366a3ff8e07dcb93d0f48bd03 (patch)
treeede13cd011ffb59c4bd165a55a703f5ddf41a153 /lualibs-util-prs.lua
parent32b7ab871a07f20c73187a577dedb737cc8b18fd (diff)
parentf2f3234465dd965a9915b97bc8b3ac77bd40c464 (diff)
downloadlualibs-d287bf5f8bc24ad366a3ff8e07dcb93d0f48bd03.tar.gz
Merge pull request #15 from phi-gamma/master
update to 2.0c
Diffstat (limited to 'lualibs-util-prs.lua')
-rw-r--r--lualibs-util-prs.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lualibs-util-prs.lua b/lualibs-util-prs.lua
index 9b2a2b0..7fe1e70 100644
--- a/lualibs-util-prs.lua
+++ b/lualibs-util-prs.lua
@@ -410,7 +410,7 @@ function parsers.csvsplitter(specification)
end
whatever = quotedata + whatever
end
- local parser = Ct((Ct(whatever * (separator * whatever)^0) * S("\n\r"))^0 )
+ local parser = Ct((Ct(whatever * (separator * whatever)^0) * S("\n\r")^1)^0 )
return function(data)
return lpegmatch(parser,data)
end