start to use Boost::regex
extract .txt | .log