Boost logo

Boost Users :

From: John Maddock (john_at_[hidden])
Date: 2005-10-11 05:58:15


> What's wrong with it?

Works for me with Boost-1.33 if I just use:

int main(void)
{
boost::regex re;
re ="\\s*#define\\s+([^\\s]+)\\s+([^/\\r\\n]+)([^\\r\\n]*)";
return 0;
}

Can you please provide:

Boost version (please try 1.33 as well).
Platform/compiler.
A simple test case that reporduces the issue.

Please make sure that you're linking to the correct regex lib build version
as well (are you letting the regex headers select the lib?), if there is a
mismatch and the regex lib is built against a different runtime from your
application then all kinds of strange problems like this can arise.

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