K
Kev Jackson
Hi all,
I'm using FasterCSV and I can't seem to get the syntax correct for using
'|' (the pipe character) for the column separator
I have
FasterCSV.parse(csv_file, { :col_sep => "|" }) do |row|
p row
end
but this fails with
invalid regular expression; there's no previous pattern, to which '+' would define cardinality at 4: /\A|+/
is this a known bug?
Kev
I'm using FasterCSV and I can't seem to get the syntax correct for using
'|' (the pipe character) for the column separator
I have
FasterCSV.parse(csv_file, { :col_sep => "|" }) do |row|
p row
end
but this fails with
invalid regular expression; there's no previous pattern, to which '+' would define cardinality at 4: /\A|+/
is this a known bug?
Kev