Boost logo

Boost :

Subject: Re: [boost] [Tokenizer]Usage and documentation
From: Michael Caisse (boost_at_[hidden])
Date: 2011-02-08 12:46:39


On 2/8/2011 5:13 AM, Max wrote:
> Hello,
>
>
>
> I'm using boost::tokenizer to do some simple parsing of data file in a
> format specified by the following rules:
>
>
>
> - One record of several fields in a single line
>
> - Adjacent data fields in a record separated by space char's(space
> or tab), with or without ","
>
> - String without space(s), with or without quotation marks
>
> - String with space(s), with quotation marks
>
>
>

Hi Max -

I would use Spirit Qi for this task. You can find the documentation here:

<http://www.boost.org/doc/libs/1_45_0/libs/spirit/doc/html/index.html>

michael

-- 
----------------------------------
Michael Caisse
Object Modeling Designs
www.objectmodelingdesigns.com

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk