Boost logo

Boost Users :

From: John Maddock (john_at_[hidden])
Date: 2007-04-15 05:37:07


Metasebia Moges wrote:
>> Hi All,
>>
>> I am introduced to Boost Regex recently and I have tried a few
>> examples and it seems quite powerful. My question: I would like to
>> do what I could with "awk" using regex in Visual C++. For instance,
>> to parse a line containing space as a separator. I think it is
>> designed for adding such capabilities to C++ and I hope there exists
>> an easy way to do so. I appreciate any useful information.

Do the regex_token_iterator examples do what you want?
http://www.boost.org/libs/regex/doc/regex_token_iterator.html

John.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net