enable boost::regex/std::regex selection