11 Oct
2005
11 Oct
'05
10:58 a.m.
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.