boost-xpressive

Assigning a Boost Xpressive token iterator range to a vector

I'm having some trouble getting Boost Xpressive to work as I expect. I'm trying to split a line of text into fields delimited by tab characters: wstring ws = L"Field1\tField2\tField3"; wsregex_token_iterator fieldIt(ws.begin(), ws.end(), as_xpr(L'\t'), -1); wsregex_token_iterator endIt; So far, so good; the above works fine. The pr...

Boost::Xpressive compile puzzle under MinGW

Hello all :) Switching to GCC for the first time, and I'm getting a bit confused by what the compiler is telling me here. Essentially, it's behaving like boost::xpressive::wsregex is not defined (I believe). Here is the relevant code: #include "criterion.h" #include <string> #include <boost/xpressive/xpressive.hpp> //More lines of co...

Boost xpressive ! operator not working

I just started using Boost::xpressive and find it an excellent library... I went through the documentation and tried to use the ! operator (zero or one) but it doesn't compile (VS2008). I want to match a sip address which may or may not start with "sip:" #include <iostream> #include <boost/xpressive/xpressive.hpp> using namespace boos...