fork download
  1. #include <iostream>
  2. #include <limits>
  3. #include <boost/xpressive/xpressive.hpp>
  4.  
  5. int main ()
  6. {
  7. boost::xpressive::sregex r = boost::xpressive::sregex::compile("(.*)\\.AUD\\$");
  8. boost::xpressive::smatch m;
  9. const auto ret = boost::xpressive::regex_search(std::string("AUD$"), m, r);
  10. std::cout << ret << std::endl;
  11. }
  12.  
Success #stdin #stdout 0.01s 5316KB
stdin
Standard input is empty
stdout
0