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...
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...
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...