
22 Jun
2005
22 Jun
'05
11:05 a.m.
Typically I would use the following regex - (?<!\\);
Where in c++ it would be something like std::string s("(?<!\\\\);")
Compiles ok but I will get an exception when I try to use it as a parameter to the regex - boost::regex(s)
Lookbehind assertions aren't supported in Boost-1.32, but will be in 1.33. Boost-1.33 should be released soon, but in the mean time, I would suggest you grab a copy of the current Boost-cvs and use that. John.