#include #include #include #include #include #include #include #include #include using namespace std; typedef vector MatchList; typedef MatchList::iterator MatchListIter; bool MatchFunc(const boost::smatch &m, MatchList *p) { p->push_back(m.str()); return true; } void RegExTest(const char *pFileName) { ifstream fin(pFileName); if (!fin) { cout