
#define BOOST_REGEX_DYN_LINK
#include <iostream>
#include

I believe the \x2A character is a '*' right? If so the compiler converts \x2A to a * so the regex engine sees a ".*". If you double up those escapes and use "\\x2A" then the regex engine will parse the escape rather than the compiler, and so it won't be interpreted as a quantifier anymore. This one had me fooled for a while BTW ;-) John.
participants (3)
-
Dave
-
Eric Niebler
-
John Maddock