i want to parse a CSV-like file, line with boost. There are many different methods like split, tokenise, spirit, regex...
A parsing line could look like: "abc" "def" "hij \"hgfd\" "
and the result should look like:
"abc"
"def"
"hij \"hgfd\" "
I thought that using boost's tokenises with the escaped_list_separator would be a great idea but it is not possible to split on whitespace delimiter, isnt it ?
Here's a quick and dirty to match just what you described using Spirit (multiple lines into a vector>):
Live On Coliru
The example printing: