As to the 2nd point: string class does have a method find, see http://www.cppreference.com/wiki/string/find
Piotr Kalinowski
2010-07-15 16:45:08
As to the 2nd point: string class does have a method find, see http://www.cppreference.com/wiki/string/find
TR1 has a regex class (derived from Boost::regex). It's not quite like you've used above, but reasonably close. Boost::phoenix and Boost::Spirit also provide similar capabilities, but for a first attempt the Boost/TR1 regex class is probably a better choice.