fix boost::regex usage

turns out that boost::regex("foo") should be used instead of
boost::regex::basic_regex