Boost logo

Boost Users :

From: Mark Sizer (yg-boost-users_at_[hidden])
Date: 2003-05-19 18:24:43


Everything builds and runs fine, I'm just not getting the result I expect.

std::string sString = "Now is the time for all good men...";
std::string sRegEx1 = "^Now";

boost::regex regex1( sRegEx1 );
CPPUNIT_ASSERT( boost::regex_match(sString, regex1) );

is failing.

I have to assume I'm doing something really stupid. Could someone tell
me what?

Thanks,
  - Mark


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