Boost logo

Boost :

Subject: Re: [boost] [Spirit] Creating a simple text format parser
From: Kisso Bajslovski (ylisaren_at_[hidden])
Date: 2008-11-21 10:37:53


>
>
> I'm not a spirit guru, but I suspect you want something like this:
>
> ( *~ch_p('<') )[ push_the_iterator_range_as_a_string() ]
>
> So you get everything up to the next "tag" at once.
>
> ~ Scott

Ah, ~ch_p('<') seems a lot better, thanks :)

Will take a look at the spirit mailing list, thanks Joel.


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